记录详情

Wrong Answer

foo.c: In function ‘main’:
foo.c:5:13: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long long int *’ [-Wformat=]
    5 |     scanf("%d", &num);
      |            ~^   ~~~~
      |             |   |
      |             |   long long int *
      |             int *
      |            %lld
foo.c:11:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
   11 |     printf("该整数中所有数字之和为: %d\n", sum);
      |                                     ~^     ~~~
      |                                      |     |
      |                                      int   long long int
      |                                     %lld
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 1ms 288.0 KiB
#2 Wrong Answer User output longer than standard answer. 1ms 324.0 KiB
#3 Wrong Answer User output longer than standard answer. 1ms 516.0 KiB
#4 Wrong Answer User output longer than standard answer. 1ms 516.0 KiB
#5 Wrong Answer User output longer than standard answer. 1ms 516.0 KiB

信息

递交者
类型
递交
题目
A4-1 回文数专题:数字之和
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C
递交时间
2024-08-16 17:23:28
评测时间
2024-08-16 17:23:28
评测机
分数
0
总耗时
6ms
峰值内存
516.0 KiB