Runtime Error

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

信息

递交者
类型
递交
题目
P1815 众数
比赛
初二数组专练10.29
语言
C++
递交时间
2021-10-29 19:45:11
评测时间
2021-10-29 19:45:11
评测机
分数
0
总耗时
19ms
峰值内存
384.0 KiB