/ TYWZ /

记录详情

Runtime Error

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

信息

递交者
类型
递交
题目
Basic Knapsack
语言
C++
递交时间
2019-01-30 16:12:31
评测时间
2019-01-30 16:12:31
评测机
分数
0
总耗时
21ms
峰值内存
216.0 KiB