/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void dfs1(int, int)':
/in/foo.cc:17:18: warning: statement has no effect [-Wunused-value]
             minn == s;
             ~~~~~^~~~
/in/foo.cc:23:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=0; i<G[k].size(); i++)
              ~^~~~~~~~~~~~
/in/foo.cc:22:12: warning: unused variable 'j' [-Wunused-variable]
     int i, j;
            ^
/in/foo.cc: In function 'void dfs(int, int, std::vector<int>)':
/in/foo.cc:66:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=0; i<v.size(); i++)
              ~^~~~~~~~~
/in/foo.cc:72:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(j=0; j<G[node].size(); j++)
                  ~^~~~~~~~~~~~~~~
/in/foo.cc:82:15: 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:97:12: warning: unused variable 'j' [-Wunused-variable]
     int i, j, k;
            ^
/in/foo.cc:97:15: warning: unused variable 'k' [-Wunused-variable]
     int i, j, k;
               ^
# 状态 耗时 内存占用
#1 Accepted 114ms 576.0 KiB
#2 Accepted 1ms 324.0 KiB
#3 Accepted 1ms 320.0 KiB
#4 Accepted 1ms 324.0 KiB
#5 Accepted 1ms 320.0 KiB
#6 Accepted 1ms 324.0 KiB
#7 Accepted 1ms 320.0 KiB
#8 Accepted 1ms 324.0 KiB
#9 Accepted 2ms 320.0 KiB
#10 Accepted 141ms 452.0 KiB

信息

递交者
类型
递交
题目
P1101 传染病防治
语言
C++
递交时间
2018-12-17 00:41:27
评测时间
2018-12-17 00:41:27
评测机
分数
100
总耗时
269ms
峰值内存
576.0 KiB