记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:22: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:23:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(int i=1;i<=n;i++) scanf("%d",&a[i]);
                        ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 8ms 5.375 MiB
#2 Runtime Error Segmentation fault 8ms 5.34 MiB
#3 Runtime Error Segmentation fault 8ms 5.312 MiB
#4 Runtime Error Segmentation fault 17ms 5.328 MiB
#5 Runtime Error Segmentation fault 18ms 5.371 MiB
#6 Runtime Error Segmentation fault 18ms 5.277 MiB
#7 Runtime Error Segmentation fault 16ms 5.328 MiB
#8 Runtime Error Segmentation fault 19ms 5.316 MiB
#9 Runtime Error Segmentation fault 20ms 5.363 MiB
#10 Runtime Error Segmentation fault 17ms 5.352 MiB

信息

递交者
类型
递交
题目
对决 (game.cpp\c\pas)
题目数据
下载
语言
C++
递交时间
2021-08-05 11:50:59
评测时间
2021-08-05 11:50:59
评测机
分数
0
总耗时
153ms
峰值内存
5.375 MiB