/ :-) /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:26:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int j=v[i];j<=P;j++)
   ^~~
/in/foo.cc:30:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
     printf("%d",(f[P]==-INF) ? -1 : f[P]);
     ^~~~~~
/in/foo.cc:22:11: warning: iteration 1003000 invokes undefined behavior [-Waggressive-loop-optimizations]
       f[i]=-INF;
       ~~~~^~~~~
/in/foo.cc:21:18: note: within this loop
     for(int i=0;i<=CON*1000;i++)
                 ~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 4.066 MiB

信息

递交者
类型
自测
题目
找茬
语言
C++
递交时间
2018-11-18 18:17:53
评测时间
2018-11-18 18:17:53
评测机
分数
10
总耗时
3ms
峰值内存
4.066 MiB