1)(0!+0!+0!+0!)!=24 

  2)[cos0+cos0+cos0+cos0]!=24

  3)[exp(0)+exp(0)+exp(0)+exp(0)]!=24

  4)[sin0+sin0+sin0+sin0]!=24

  5)[tan0+tan0+tan0+tan0]!=24

  6)[sinh(0)+sinh(0)+sinh(0)+sinh(0)]!=24 双曲正弦

  7)[cosh(0)+cosh(0)+cosh(0)+cosh(0)]!=24 双曲余弦

  8)(sec0+sec0+sec0+sec0)!=24

好吧,其实这个段子貌似是很久以前的了,比较“标准”的答案是(0!+0!+0!+0!)!=24这个大家应该都知道了是吧……当然还有一些变体,总之基本都跟把0变成1有关。

各位可以从各种算术操作符逻辑操作符上入手得到更多的解释哦~用三角函数什么的真是弱爆了

1 #include <stdio.h>
2
3 int main() {
4 printf("%d\n", '0'/(('0'+'0')/'0'));
5 printf("%d\n", '0'>>'0'/'0'+0);
6 printf("%d\n", -~-~-~-~-~-~0-~-~-~-~-~-~0-~-~-~-~-~-~0-~-~-~-~-~-~0);
7
8 return 0;
9 }



 

 

 

相关文章:

  • 2022-12-23
  • 2021-11-14
  • 2021-06-25
  • 2021-12-31
  • 2022-12-23
  • 2021-07-23
  • 2021-09-21
猜你喜欢
  • 2021-10-18
  • 2022-12-23
  • 2022-12-23
  • 2021-10-20
  • 2021-09-23
  • 2021-10-29
相关资源
相似解决方案