记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:6:9: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |         scanf("%d", &n);
      |         ^~~~~
foo.c:2:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
    1 | #include <time.h>
  +++ |+#include <stdio.h>
    2 | 
foo.c:6:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |         scanf("%d", &n);
      |         ^~~~~
foo.c:6:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
foo.c:14:9: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   14 |         printf("%d", i);
      |         ^~~~~~
foo.c:14:9: note: include '<stdio.h>' or provide a declaration of 'printf'
foo.c:14:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
foo.c:14:9: note: include '<stdio.h>' or provide a declaration of 'printf'
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Wrong Answer Read 14, expect 22. 2ms 256.0 KiB
#4 Wrong Answer Read 299998, expect 479995. 1ms 256.0 KiB
#5 Wrong Answer Read 1499999, expect 2399998. 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P1087 xf1-10多喝饮料
比赛
2022年迎新赛(第二场)
语言
C
递交时间
2022-08-27 17:18:20
评测时间
2022-08-27 17:18:20
评测机
分数
40
总耗时
10ms
峰值内存
384.0 KiB