记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:15:9: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   15 |         printf("%d\n", ret);
      |         ^~~~~~
foo.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | int DigitSum(int x)
foo.c:15:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   15 |         printf("%d\n", ret);
      |         ^~~~~~
foo.c:15:9: note: include '<stdio.h>' or provide a declaration of 'printf'
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 19, expect 1. 1ms 256.0 KiB
#2 Wrong Answer Read 19, expect 15. 1ms 256.0 KiB
#3 Wrong Answer Read 19, expect 18. 1ms 256.0 KiB
#4 Wrong Answer Read 19, expect 45. 1ms 256.0 KiB
#5 Wrong Answer Read 19, expect 22. 2ms 256.0 KiB

信息

递交者
类型
递交
题目
A4-1 回文数专题:数字之和
比赛
2022年迎新赛(第三场)
语言
C
递交时间
2022-09-16 20:01:46
评测时间
2022-09-16 20:01:46
评测机
分数
0
总耗时
9ms
峰值内存
256.0 KiB