/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int kk=0;kk<f[j-w[i]].size();kk++)
                           ~~^~~~~~~~~~~~~~~~~
/in/foo.cc:20:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (f[j].size()<k)
                     ~~~~~~~~~~~^~
/in/foo.cc:36:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i=0;i<f[v].size();i++) sum+=f[v][i];
              ~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Accepted 3ms 320.0 KiB
#3 Accepted 5ms 384.0 KiB
#4 Accepted 54ms 640.0 KiB
#5 Accepted 14ms 444.0 KiB
#6 Accepted 139ms 1.375 MiB
#7 Accepted 169ms 1.5 MiB

信息

递交者
类型
递交
题目
P1412 多人背包
语言
C++
递交时间
2017-07-09 12:02:29
评测时间
2017-07-09 12:02:29
评测机
分数
100
总耗时
389ms
峰值内存
1.5 MiB