/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int dfs(int, int)':
foo.cc:21:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0;i<outt[now].size();i++)
               ~^~~~~~~~~~~~~~~~~
foo.cc: In function 'int work()':
foo.cc:85:26: 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\n",ans.size());
                ~~~~~~~~~~^
foo.cc:86:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0;i<ans.size();i++) printf("%d\n",ans[i]);
               ~^~~~~~~~~~~
foo.cc:55:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d%d%d",&n,&m,&sa,&sb);
  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:61:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&x);
   ~~~~~^~~~~~~~~
foo.cc:67:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&x);
   ~~~~~^~~~~~~~~
foo.cc:74:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d",&x,&y);
   ~~~~~^~~~~~~~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-27T12:04:27.106Z","handle":"2020-07-27T12:04:27.106Z","cache_start":"2020-07-27T12:04:27.112Z","read_cases":"2020-07-27T12:04:28.942Z","judge":"2020-07-27T12:04:28.942Z","done":"2020-07-27T12:04:30.264Z"}
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 3ms 7.375 MiB
#2 Runtime Error Segmentation fault 3ms 7.375 MiB
#3 Runtime Error Segmentation fault 2ms 7.375 MiB
#4 Runtime Error Segmentation fault 2ms 7.375 MiB
#5 Runtime Error Segmentation fault 2ms 7.375 MiB
#6 Runtime Error Segmentation fault 2ms 7.375 MiB
#7 Runtime Error Segmentation fault 2ms 7.375 MiB
#8 Runtime Error Segmentation fault 3ms 7.5 MiB
#9 Runtime Error Segmentation fault 3ms 7.5 MiB
#10 Runtime Error Segmentation fault 4ms 7.617 MiB
#11 Runtime Error Segmentation fault 5ms 8.152 MiB
#12 Runtime Error Segmentation fault 8ms 8.859 MiB
#13 Runtime Error Segmentation fault 11ms 9.621 MiB
#14 Runtime Error Segmentation fault 16ms 10.355 MiB
#15 Runtime Error Segmentation fault 18ms 11.082 MiB
#16 Runtime Error Segmentation fault 25ms 12.605 MiB
#17 Runtime Error Segmentation fault 25ms 12.457 MiB
#18 Runtime Error Segmentation fault 30ms 14.023 MiB

信息

递交者
类型
递交
题目
P1769 网络的关键边
语言
C++
递交时间
2020-07-27 20:04:27
评测时间
2020-07-27 20:04:27
评测机
分数
0
总耗时
175ms
峰值内存
14.023 MiB