/ TYWZ /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:8: warning: statement has no effect [-Wunused-value]
    b[j]==a[j];
    ~~~~^~~~~~
/in/foo.cc:19:9: warning: statement has no effect [-Wunused-value]
     b[j]==a[j];
     ~~~~^~~~~~
/in/foo.cc:26:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if(b[milk-1]==ans);
    ^~
/in/foo.cc:27:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     t++;
     ^
# 状态 耗时 内存占用
#1 Runtime Error 1ms 216.0 KiB
#2 Runtime Error 1ms 208.0 KiB
#3 Runtime Error 2ms 220.0 KiB
#4 Runtime Error 2ms 204.0 KiB
#5 Runtime Error 2ms 216.0 KiB
#6 Runtime Error 2ms 216.0 KiB
#7 Runtime Error 1ms 216.0 KiB
#8 Runtime Error 1ms 216.0 KiB
#9 Wrong Answer 2ms 216.0 KiB
#10 Wrong Answer 3ms 216.0 KiB

信息

递交者
类型
递交
题目
Basic Knapsack
比赛
2019.1.30测验
语言
C++
递交时间
2019-01-30 16:10:18
评测时间
2019-01-30 16:10:18
评测机
分数
0
总耗时
22ms
峰值内存
220.0 KiB