/ new_bzoj /

记录详情

Compile Error

/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:13:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<G[u].size();i++)
                 ~^~~~~~~~~~~~
/in/foo.cc: In function 'void rdfs(int)':
/in/foo.cc:24:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<rG[u].size();i++)
                 ~^~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:50:31: error: 'memset' was not declared in this scope
     memset(book,0,sizeof(book));
                               ^
/in/foo.cc:55:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
     printf("%d",cmp[cnt].size());
                                ^

信息

递交者
类型
递交
题目
受欢迎的牛
语言
C++
递交时间
2022-01-07 19:58:01
评测时间
2022-01-07 19:58:01
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes