/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:26:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
             if(a[i]>b[k])
             ^~
/in/foo.cc:28:15: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
               ans=max(ans,dp[i][j]);
               ^~~
/in/foo.cc:23:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
       for(int j=1;j<=n;j++)
       ^~~
/in/foo.cc:33:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
         printf("%lld\n",ans);
         ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 5ms 2.254 MiB
#2 Wrong Answer 6ms 2.25 MiB
#3 Runtime Error 5ms 2.25 MiB
#4 Runtime Error 7ms 2.328 MiB
#5 Wrong Answer 5ms 2.375 MiB
#6 Wrong Answer 15ms 2.375 MiB
#7 Runtime Error 13ms 2.25 MiB
#8 Wrong Answer 7ms 2.34 MiB
#9 Wrong Answer 7ms 2.363 MiB
#10 Runtime Error 12ms 2.375 MiB

信息

递交者
类型
递交
题目
P1264 神秘的咒语
语言
C++
递交时间
2018-09-23 11:24:26
评测时间
2018-09-23 11:24:26
评测机
分数
10
总耗时
87ms
峰值内存
2.375 MiB