记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:31:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&c);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:33:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&a[i]);
   ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 2ms 392.0 KiB
#2 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#3 Runtime Error Segmentation fault 2ms 1.523 MiB
#4 Runtime Error Segmentation fault 2ms 1.516 MiB
#5 Runtime Error Segmentation fault 2ms 1.535 MiB
#6 Runtime Error Segmentation fault 2ms 1.5 MiB
#7 Runtime Error Segmentation fault 2ms 1.516 MiB
#8 Runtime Error Segmentation fault 2ms 1.52 MiB
#9 Runtime Error Segmentation fault 2ms 1.531 MiB
#10 Runtime Error Segmentation fault 2ms 1.52 MiB
#11 Runtime Error Segmentation fault 3ms 1.5 MiB

信息

递交者
类型
递交
题目
子集和问题
题目数据
下载
语言
C++
递交时间
2021-10-30 11:48:44
评测时间
2021-10-30 11:48:44
评测机
分数
0
总耗时
29ms
峰值内存
1.535 MiB