记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:9:5: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    9 |     scanf("%d ",&n);
      |     ^~~~~
foo.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main()
foo.c:9:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    9 |     scanf("%d ",&n);
      |     ^~~~~
foo.c:9:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
foo.c:11:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   11 |     printf("\n");
      |     ^~~~~~
foo.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
foo.c:11:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
foo.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
foo.c:33:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int *' [-Wformat=]
   33 |                 printf("%d",&c);
      |                         ~^  ~~
      |                          |  |
      |                          |  int *
      |                          int
      |                         %ls
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read , expect 20801. 1ms 284.0 KiB
#2 Wrong Answer Read , expect 18831. 1ms 284.0 KiB
#3 Wrong Answer Read , expect 10755. 1ms 284.0 KiB
#4 Wrong Answer Read , expect 8093. 1ms 284.0 KiB
#5 Wrong Answer Read , expect 26323. 2ms 284.0 KiB
#6 Wrong Answer Read , expect 20236. 2ms 288.0 KiB
#7 Wrong Answer Read , expect 16966. 2ms 284.0 KiB
#8 Wrong Answer Read , expect 14438. 2ms 284.0 KiB
#9 Wrong Answer Read , expect 12412. 2ms 284.0 KiB
#10 Wrong Answer Read , expect 11215. 2ms 328.0 KiB
#11 Wrong Answer Read , expect 10145. 2ms 284.0 KiB
#12 Wrong Answer Read , expect 9250. 2ms 328.0 KiB
#13 Wrong Answer Read , expect 8573. 2ms 284.0 KiB
#14 Wrong Answer Read , expect 7998. 2ms 284.0 KiB
#15 Wrong Answer Read , expect 7406. 2ms 284.0 KiB
#16 Wrong Answer Read , expect 6573. 2ms 284.0 KiB
#17 Wrong Answer Read , expect 6224. 2ms 284.0 KiB
#18 Wrong Answer Read , expect 5791. 2ms 284.0 KiB
#19 Wrong Answer Read , expect 5494. 2ms 284.0 KiB
#20 Wrong Answer Read , expect 5105. 2ms 284.0 KiB
#21 Wrong Answer Read , expect 4698. 2ms 284.0 KiB
#22 Wrong Answer Read , expect 4369. 2ms 284.0 KiB
#23 Wrong Answer Read , expect 4205. 2ms 284.0 KiB
#24 Wrong Answer Read , expect 3883. 2ms 284.0 KiB
#25 Wrong Answer Read , expect 3472. 3ms 284.0 KiB
#26 Wrong Answer Read , expect 3284. 3ms 284.0 KiB
#27 Wrong Answer Read , expect 3071. 2ms 284.0 KiB
#28 Wrong Answer Read , expect 2916. 2ms 284.0 KiB
#29 Wrong Answer Read , expect 2771. 4ms 332.0 KiB
#30 Wrong Answer Read , expect 2696. 2ms 284.0 KiB
#31 Wrong Answer Read , expect 2623. 2ms 284.0 KiB
#32 Wrong Answer Read , expect 2507. 2ms 284.0 KiB
#33 Wrong Answer Read , expect 2395. 2ms 284.0 KiB
#34 Wrong Answer Read , expect 2334. 2ms 284.0 KiB
#35 Wrong Answer Read , expect 2215. 2ms 284.0 KiB
#36 Wrong Answer Read , expect 2135. 2ms 284.0 KiB
#37 Wrong Answer Read , expect 2101. 3ms 284.0 KiB
#38 Wrong Answer Read , expect 2054. 3ms 328.0 KiB
#39 Wrong Answer Read , expect 2007. 2ms 284.0 KiB
#40 Wrong Answer Read , expect 1959. 3ms 284.0 KiB
#41 Wrong Answer Read , expect 1920. 3ms 328.0 KiB
#42 Wrong Answer Read , expect 1870. 2ms 284.0 KiB
#43 Wrong Answer Read , expect 1813. 3ms 284.0 KiB
#44 Wrong Answer Read , expect 1793. 3ms 284.0 KiB
#45 Wrong Answer Read , expect 1763. 3ms 284.0 KiB
#46 Wrong Answer Read , expect 1751. 3ms 284.0 KiB
#47 Wrong Answer Read , expect 1695. 3ms 284.0 KiB
#48 Wrong Answer Read , expect 1669. 3ms 284.0 KiB
#49 Wrong Answer Read , expect 1642. 3ms 284.0 KiB
#50 Wrong Answer Read , expect 1625. 3ms 332.0 KiB

信息

递交者
类型
递交
题目
P1357 4A 第k小的数
比赛
2023暑期青少年社团(惜别赛)
语言
C
递交时间
2023-08-24 13:41:38
评测时间
2023-08-24 13:41:38
评测机
分数
0
总耗时
133ms
峰值内存
332.0 KiB