/ WHOJ /

记录详情

Runtime Error

foo.cc: In function 'int dfs(int)':
foo.cc:51:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   51 |     for(int i=0;i<v[u].size();i++)
      |                 ~^~~~~~~~~~~~
foo.cc:59:1: warning: no return statement in function returning non-void [-Wreturn-type]
   59 | }
      | ^
foo.cc: In function 'int main()':
foo.cc:68:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   68 |         scanf("%d%d%d",&u,&t,&w);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 6ms 5.742 MiB
#2 Runtime Error Segmentation fault 6ms 5.742 MiB
#3 Runtime Error Segmentation fault 13ms 5.875 MiB
#4 Runtime Error Segmentation fault 25ms 6.242 MiB
#5 Runtime Error Segmentation fault 9ms 6.125 MiB
#6 Runtime Error Segmentation fault 17ms 7.117 MiB
#7 Runtime Error Segmentation fault 13ms 6.492 MiB
#8 Runtime Error Segmentation fault 18ms 7.117 MiB
#9 Runtime Error Segmentation fault 15ms 5.875 MiB
#10 Runtime Error Segmentation fault 16ms 6.867 MiB

信息

递交者
类型
递交
题目
P1299 前卫树
题目数据
下载
语言
C++
递交时间
2022-07-14 20:57:04
评测时间
2022-07-14 20:57:04
评测机
分数
0
总耗时
143ms
峰值内存
7.117 MiB