/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int work(int, int)':
/in/foo.cc:10:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:16:8: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
        for (i=1;i<=n;i++) if (t[i]>=s) break;work(i-1,s-t[i-1]);
        ^~~
/in/foo.cc:16:46: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
        for (i=1;i<=n;i++) if (t[i]>=s) break;work(i-1,s-t[i-1]);
                                              ^~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Accepted 2ms 368.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 2ms 256.0 KiB
#6 Accepted 2ms 336.0 KiB
#7 Accepted 2ms 256.0 KiB
#8 Accepted 2ms 256.0 KiB
#9 Accepted 2ms 356.0 KiB
#10 Accepted 2ms 332.0 KiB

信息

递交者
类型
递交
题目
P1400 cpc的逃离
语言
C++
递交时间
2017-08-24 16:18:00
评测时间
2017-08-24 16:18:00
评测机
分数
100
总耗时
25ms
峰值内存
384.0 KiB