/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:24:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=0; i<lists.size(); i++)
              ~^~~~~~~~~~~~~
/in/foo.cc:30:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(j=0; j<G[node].size(); j++)
                  ~^~~~~~~~~~~~~~~
/in/foo.cc:37:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=0; i<cur.size(); i++)
              ~^~~~~~~~~~~
/in/foo.cc:41:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=0; i<cur.size(); i++)
              ~^~~~~~~~~~~
/in/foo.cc:44:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(i=0; i<cur.size(); i++)
                  ~^~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:60:12: warning: unused variable 'j' [-Wunused-variable]
     int i, j, k;
            ^
/in/foo.cc:60:15: warning: unused variable 'k' [-Wunused-variable]
     int i, j, k;
               ^
/in/foo.cc:78:8: warning: 'root' may be used uninitialized in this function [-Wmaybe-uninitialized]
     dfs(root, 1);
     ~~~^~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 316.0 KiB
#2 Accepted 1ms 196.0 KiB
#3 Accepted 1ms 316.0 KiB
#4 Accepted 1ms 196.0 KiB
#5 Wrong Answer 1ms 316.0 KiB
#6 Wrong Answer 1ms 196.0 KiB
#7 Wrong Answer 1ms 188.0 KiB
#8 Wrong Answer 1ms 196.0 KiB
#9 Wrong Answer 1ms 316.0 KiB
#10 Wrong Answer 1ms 324.0 KiB

信息

递交者
类型
递交
题目
P1101 传染病防治
语言
C++
递交时间
2018-12-12 21:34:38
评测时间
2018-12-12 21:34:40
评测机
分数
30
总耗时
14ms
峰值内存
324.0 KiB