/ :-) /

记录详情

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 is 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 4ms 4.438 MiB
#2 Accepted 4ms 4.512 MiB
#3 Accepted 4ms 4.047 MiB
#4 Accepted 105ms 4.133 MiB
#5 Accepted 104ms 4.129 MiB
#6 Accepted 100ms 4.129 MiB
#7 Accepted 137ms 4.133 MiB
#8 Accepted 132ms 4.129 MiB
#9 Accepted 135ms 4.129 MiB
#10 Accepted 130ms 4.129 MiB

信息

递交者
类型
递交
题目
找茬
语言
C++
递交时间
2018-11-18 18:17:55
评测时间
2018-12-23 14:28:23
评测机
分数
100
总耗时
860ms
峰值内存
4.512 MiB