/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void bfs(int, std::vector<int>&)':
/in/foo.cc:11:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         res = res <= (inf_num + tmp.size() - 1) ? res : (inf_num + tmp.size() - 1);
               ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:14:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < tmp.size(); ++i) {
                     ~~^~~~~~~~~~~~
/in/foo.cc:19:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < tmp.size(); ++i) {
                     ~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 2ms 432.0 KiB
#2 Accepted 1ms 364.0 KiB
#3 Accepted 1ms 356.0 KiB
#4 Wrong Answer 1ms 344.0 KiB
#5 Runtime Error 2ms 484.0 KiB
#6 Runtime Error 2ms 488.0 KiB
#7 Runtime Error 2ms 424.0 KiB
#8 Runtime Error 2ms 428.0 KiB
#9 Runtime Error 2ms 436.0 KiB
#10 Runtime Error 2ms 436.0 KiB

信息

递交者
类型
递交
题目
P1101 传染病防治
语言
C++
递交时间
2021-12-04 10:27:28
评测时间
2021-12-04 10:27:28
评测机
分数
20
总耗时
21ms
峰值内存
488.0 KiB