/ WHOJ /

记录详情

Runtime Error

foo.cc: In function 'int dfs1(int)':
foo.cc:10:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   10 |     for(int i=0; i<f[x].size(); i++)
      |                  ~^~~~~~~~~~~~
foo.cc:17:1: warning: no return statement in function returning non-void [-Wreturn-type]
   17 | }
      | ^
foo.cc: In function 'int dfs2(int)':
foo.cc:23:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   23 |     for(int i=0; i<f[x].size(); i++)
      |                  ~^~~~~~~~~~~~
foo.cc:31:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   31 |     for(int i=0; i<f[x].size(); i++)
      |                  ~^~~~~~~~~~~~
foo.cc:34:1: warning: no return statement in function returning non-void [-Wreturn-type]
   34 | }
      | ^
正在同步测试数据,请稍后
Found 5 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 4ms 2.75 MiB
#2 Runtime Error Segmentation fault 6ms 2.75 MiB
#3 Runtime Error Segmentation fault 5ms 2.75 MiB
#4 Runtime Error Segmentation fault 4ms 2.75 MiB
#5 Runtime Error Segmentation fault 5ms 2.75 MiB

信息

递交者
类型
递交
题目
P1081 寻找
题目数据
下载
语言
C++
递交时间
2022-03-05 22:08:10
评测时间
2022-03-05 22:08:10
评测机
分数
0
总耗时
26ms
峰值内存
2.75 MiB