/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:22:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=0; i<G[k].size(); i++)
              ~^~~~~~~~~~~~
/in/foo.cc:25:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(j=0; j<G[k].size(); j++)
                  ~^~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:42:12: warning: unused variable 'j' [-Wunused-variable]
     int i, j, k;
            ^
/in/foo.cc:42:15: warning: unused variable 'k' [-Wunused-variable]
     int i, j, k;
               ^
/in/foo.cc:59:8: warning: 'root' may be used uninitialized in this function [-Wmaybe-uninitialized]
     dfs(root, 1);
     ~~~^~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 320.0 KiB
#2 Wrong Answer 1ms 320.0 KiB
#3 Accepted 1ms 320.0 KiB
#4 Wrong Answer 1ms 192.0 KiB
#5 Wrong Answer 1ms 192.0 KiB
#6 Wrong Answer 1ms 192.0 KiB
#7 Wrong Answer 1ms 292.0 KiB
#8 Wrong Answer 1ms 320.0 KiB
#9 Wrong Answer 1ms 320.0 KiB
#10 Wrong Answer 1ms 320.0 KiB

信息

递交者
类型
递交
题目
P1101 传染病防治
语言
C++
递交时间
2018-12-12 19:43:31
评测时间
2018-12-12 19:44:01
评测机
分数
10
总耗时
17ms
峰值内存
320.0 KiB