/ WHOJ /

记录详情

Runtime Error

foo.cc: In function 'int dfs(int)':
foo.cc:41: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]
   41 |     for(int i=0;i<v[u].size();i++)
      |                 ~^~~~~~~~~~~~
foo.cc:49:1: warning: no return statement in function returning non-void [-Wreturn-type]
   49 | }
      | ^
foo.cc: In function 'int main()':
foo.cc:58:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   58 |         scanf("%d%d%d",&u,&t,&w);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 11ms 5.762 MiB
#2 Runtime Error Segmentation fault 11ms 5.875 MiB
#3 Runtime Error Segmentation fault 14ms 5.75 MiB
#4 Runtime Error Segmentation fault 20ms 6.125 MiB
#5 Runtime Error Segmentation fault 12ms 6.0 MiB
#6 Runtime Error Segmentation fault 27ms 6.742 MiB
#7 Runtime Error Segmentation fault 17ms 6.375 MiB
#8 Runtime Error Segmentation fault 36ms 6.75 MiB
#9 Runtime Error Segmentation fault 10ms 5.875 MiB
#10 Runtime Error Segmentation fault 19ms 6.5 MiB

信息

递交者
类型
递交
题目
P1299 前卫树
题目数据
下载
语言
C++
递交时间
2022-07-13 15:30:48
评测时间
2022-07-13 15:30:48
评测机
分数
0
总耗时
182ms
峰值内存
6.75 MiB