/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:27:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(register int i = 0; i < G[u].size(); ++i){
                             ~~^~~~~~~~~~~~~
/in/foo.cc: In function 'void color(int, int)':
/in/foo.cc:52:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(register int i = 0; i < G[u].size(); ++i){
                             ~~^~~~~~~~~~~~~
/in/foo.cc: In function 'bool check(int)':
/in/foo.cc:75:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(register int i = 0; i < G[1].size(); ++i){
                             ~~^~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:109:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(m < G[1].size()){
        ~~^~~~~~~~~~~~~
/in/foo.cc:116:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int mid = l + r >> 1;
                   ~~^~~
/in/foo.cc:120:24: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
     printf("%d\n", ans);
                        ^
# 状态 耗时 内存占用
#1 Accepted 3ms 4.969 MiB
#2 Wrong Answer 4ms 4.676 MiB
#3 Wrong Answer 5ms 7.551 MiB
#4 Wrong Answer 4ms 5.074 MiB
#5 Wrong Answer 4ms 5.461 MiB
#6 Runtime Error 8ms 7.77 MiB
#7 Wrong Answer 5ms 4.078 MiB
#8 Time Exceeded ≥2003ms ≥10.465 MiB
#9 Wrong Answer 27ms 11.305 MiB
#10 Accepted 3ms 2.578 MiB

信息

递交者
类型
递交
题目
P1783 疫情控制
语言
C++
递交时间
2020-08-09 17:54:14
评测时间
2020-08-09 17:54:14
评测机
分数
20
总耗时
2071ms
峰值内存
11.305 MiB