/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:132:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:134:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   int u,v;scanf("%d%d",&u,&v);
           ~~~~~^~~~~~~~~~~~~~
foo.cc:137:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&m);
  ~~~~~^~~~~~~~~
foo.cc:139:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d",f+i,p+i);
   ~~~~~^~~~~~~~~~~~~~~~
foo.cc:142:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&q,&k);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:146:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d%d",&opt,&x,&y);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 65ms 80.648 MiB
#2 Wrong Answer 0a1,2 > 1 > 2 2 15ms 17.496 MiB
#3 Runtime Error Segmentation fault 65ms 80.672 MiB
#4 Runtime Error Segmentation fault 68ms 80.641 MiB
#5 Runtime Error Segmentation fault 15ms 17.539 MiB
#6 Runtime Error Segmentation fault 16ms 17.535 MiB
#7 Runtime Error Segmentation fault 15ms 17.531 MiB
#8 Runtime Error Segmentation fault 18ms 17.504 MiB
#9 Runtime Error Segmentation fault 20ms 17.535 MiB
#10 Runtime Error Segmentation fault 19ms 17.395 MiB

信息

递交者
类型
递交
题目
P1791 骑士的旅行
语言
C++
递交时间
2021-07-17 14:53:16
评测时间
2021-07-17 14:53:16
评测机
分数
0
总耗时
320ms
峰值内存
80.672 MiB