/ TYWZ /

记录详情

Wrong Answer

/in/foo.cc: In function 'double dp()':
/in/foo.cc:18:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    for(int i=0;i<n;i++)
    ^~~
/in/foo.cc:23:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     if(sumW<=w)ans=maxx(ans,sumV);
     ^~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 220.0 KiB
#2 Wrong Answer 6ms 228.0 KiB
#3 Wrong Answer 74ms 312.0 KiB
#4 Wrong Answer 180ms 220.0 KiB
#5 Wrong Answer 83ms 220.0 KiB

信息

递交者
类型
递交
题目
NP Knapsack
语言
C++
递交时间
2019-02-05 22:06:07
评测时间
2019-02-06 01:42:13
评测机
分数
0
总耗时
345ms
峰值内存
312.0 KiB