记录详情

Accepted

/in/foo.cc: In function 'int solve(int, int)':
/in/foo.cc:10:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for( i = 0;1<<i  <= h;i++);
   ^~~
/in/foo.cc:11:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
      i--;
      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:48:24: warning: iteration 29 invokes undefined behavior [-Waggressive-loop-optimizations]
             fabc[i][1] = a[1];
             ~~~~~~~~~~~^~~~~~
/in/foo.cc:41:18: note: within this loop
     for(i = 1 ; i<=30 ;i++)   //打表
                 ~^~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 332.0 KiB

信息

递交者
类型
递交
题目
Fibonacci
题目数据
下载
语言
C++
递交时间
2018-08-11 15:59:03
评测时间
2018-08-11 15:59:03
评测机
分数
10
总耗时
3ms
峰值内存
332.0 KiB