看到一个等差数列求和的算法,秀得我头皮发麻

1 int sum(int n)
2 {
3     bool a[n][n+1]
4     return sizeof(a)>>1;
5  } 

秀得我头皮发麻,,鬼才操作~

原文地址:https://www.cnblogs.com/yinhao-ing/p/10666120.html