/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'void preBFS()':
foo.cpp:34:30: error: 'memset' was not declared in this scope
     memset(vis, 0, sizeof vis);
                              ^
foo.cpp:39:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i = 0; i < H[a].size(); i++)
                                      ^
foo.cpp: In function 'bool walkable(const int&)':
foo.cpp:50:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0; i < G[src].size(); i++)
                                    ^
foo.cpp: In function 'void SPFA()':
foo.cpp:58:30: error: 'memset' was not declared in this scope
     memset(vis, 0, sizeof vis);
                              ^
foo.cpp:64:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i = 0; i < G[a].size(); i++)    
                                      ^

信息

递交者
类型
递交
题目
P1909 寻找道路
语言
C++
递交时间
2016-07-14 15:16:41
评测时间
2016-07-14 15:16:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes