记录详情

Runtime Error

foo.cc: In function 'void scan()':
foo.cc:13:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&m);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:15:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%s",s+1);
   ~~~~~^~~~~~~~~~
foo.cc: In function 'bool rescan()':
foo.cc:22:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d%d%d",&sx,&sy,&ax,&ay);
  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Runtime Error Segmentation fault 1ms 256.0 KiB
#3 Accepted 0ms 256.0 KiB
#4 Runtime Error Segmentation fault 0ms 256.0 KiB
#5 Accepted 0ms 256.0 KiB
#6 Runtime Error Segmentation fault 0ms 256.0 KiB
#7 Runtime Error Segmentation fault 0ms 256.0 KiB
#8 Runtime Error Segmentation fault 1ms 256.0 KiB
#9 Runtime Error Segmentation fault 0ms 256.0 KiB
#10 Runtime Error Segmentation fault 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1009 龙&虫(dragon,1s.256MB)
题目数据
下载
语言
C++
递交时间
2021-09-15 17:19:33
评测时间
2021-09-15 17:19:33
评测机
分数
30
总耗时
9ms
峰值内存
256.0 KiB