记录详情

Wrong Answer

/in/foo.cc: In function 'void print(std::bitset<5ul>&)':
/in/foo.cc:9:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0; i < X.size(); ++i) {
                    ~~^~~~~~~~~~
/in/foo.cc: In function 'void subsetSum(std::vector<int>&, std::bitset<5ul>&, int, int, int)':
/in/foo.cc:18:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     else if(k + 1 <= W.size() && sum + W[k] <= targetSum)
             ~~~~~~^~~~~~~~~~~
/in/foo.cc:20:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(k + 1 <= W.size() && sum + W[k + 1] <= targetSum) {
        ~~~~~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 220.0 KiB
#2 Wrong Answer 1ms 216.0 KiB
#3 Wrong Answer 1ms 220.0 KiB
#4 Wrong Answer 1ms 220.0 KiB
#5 Wrong Answer 1ms 220.0 KiB
#6 Wrong Answer 1ms 216.0 KiB
#7 Wrong Answer 2ms 220.0 KiB
#8 Wrong Answer 1ms 220.0 KiB
#9 Wrong Answer 1ms 220.0 KiB
#10 Wrong Answer 1ms 216.0 KiB
#11 Wrong Answer 1ms 220.0 KiB

信息

递交者
类型
递交
题目
子集和问题
题目数据
下载
语言
C++
递交时间
2019-06-13 14:48:44
评测时间
2019-06-13 14:48:44
评测机
分数
0
总耗时
19ms
峰值内存
220.0 KiB