记录详情

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.352 MiB
#2 Runtime Error Segmentation fault 7ms 5.297 MiB
#3 Runtime Error Segmentation fault 8ms 5.273 MiB
#4 Runtime Error Segmentation fault 16ms 5.297 MiB
#5 Runtime Error Segmentation fault 17ms 5.277 MiB
#6 Runtime Error Segmentation fault 17ms 5.293 MiB
#7 Runtime Error Segmentation fault 16ms 5.312 MiB
#8 Runtime Error Segmentation fault 18ms 5.254 MiB
#9 Runtime Error Segmentation fault 17ms 5.281 MiB
#10 Runtime Error Segmentation fault 17ms 5.301 MiB

信息

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