记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=n;i++)
  ^~~
/in/foo.cc:12:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for(int i=1;i<=n;i++)
   ^~~
/in/foo.cc:13:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int j=w[i];j<=m;j++)
     ^~~
/in/foo.cc:16:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
      cout<<"max="<<f[m];
      ^~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 204.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 2ms 356.0 KiB
#4 Accepted 4ms 256.0 KiB
#5 Accepted 3ms 272.0 KiB
#6 Accepted 3ms 216.0 KiB
#7 Accepted 1ms 344.0 KiB
#8 Accepted 3ms 212.0 KiB
#9 Accepted 3ms 364.0 KiB
#10 Accepted 2ms 368.0 KiB
#11 Accepted 4ms 368.0 KiB

信息

递交者
类型
递交
题目
完全背包问题
语言
C++
递交时间
2018-02-07 22:00:21
评测时间
2018-02-07 22:00:21
评测机
分数
100
总耗时
35ms
峰值内存
368.0 KiB