记录详情

Wrong Answer

foo.c: In function 'qsort':
foo.c:4:29: warning: unused variable 'mid' [-Wunused-variable]
  int bas=a[lft],l=lft,r=rht,mid=(lft+rht)/2;
                             ^~~
foo.c: In function 'main':
foo.c:47:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ^~~~~~~~~~~~~~
foo.c:48:22: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  for(int i=0;i<n;++i)scanf("%d",a+i);
                      ^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 407, expect 15. 0ms 256.0 KiB
#2 Wrong Answer Read 677, expect 15. 0ms 256.0 KiB
#3 Wrong Answer Read 677, expect 15. 0ms 256.0 KiB
#4 Wrong Answer Read 677, expect 5. 0ms 256.0 KiB
#5 Wrong Answer Read 667, expect 4. 0ms 256.0 KiB
#6 Wrong Answer Read 893, expect 4. 0ms 256.0 KiB
#7 Wrong Answer Read 679, expect 8. 0ms 256.0 KiB
#8 Wrong Answer Read 815, expect 8. 0ms 256.0 KiB
#9 Wrong Answer Read 899, expect 2. 0ms 256.0 KiB
#10 Wrong Answer Read 321, expect 15. 0ms 256.0 KiB

信息

递交者
类型
递交
题目
P1000 明明的随机数
语言
C
递交时间
2021-11-12 18:23:46
评测时间
2021-11-12 18:23:46
评测机
分数
0
总耗时
7ms
峰值内存
256.0 KiB