Wrong Answer

foo.cc: In function 'int main()':
foo.cc:4:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n1);
  ~~~~~^~~~~~~~~~
foo.cc:6:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&a[i]);
   ~~~~~^~~~~~~~~~~~
foo.cc:8:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n2);
  ~~~~~^~~~~~~~~~
foo.cc:10: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 Read 0, expect 169. 2ms 384.0 KiB
#2 Wrong Answer Read 0, expect 330. 2ms 384.0 KiB
#3 Wrong Answer Read 0, expect 1046. 1ms 384.0 KiB
#4 Wrong Answer Read 0, expect 2008. 1ms 384.0 KiB

信息

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