记录详情

Wrong Answer

foo.c: In function ‘main’:
foo.c:7:17: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=]
    7 |         scanf("%d",&a);
      |                ~^  ~~
      |                 |  |
      |                 |  long int *
      |                 int *
      |                %ld
foo.c:13:14: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
   13 |     printf("%d",b);
      |             ~^  ~
      |              |  |
      |              |  long int
      |              int
      |             %ld
# 状态 耗时 内存占用
#1 Wrong Answer Read 265, expect 465. 1ms 328.0 KiB
#2 Wrong Answer Read 6, expect 12. 1ms 324.0 KiB
#3 Wrong Answer Read 218, expect 378. 1ms 288.0 KiB
#4 Wrong Answer Read 36, expect 60. 1ms 516.0 KiB
#5 Wrong Answer Read 222, expect 372. 1ms 516.0 KiB

信息

递交者
类型
递交
题目
A3-1 素数专题:因子的和
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C
递交时间
2024-08-16 23:55:24
评测时间
2024-08-16 23:55:24
评测机
分数
0
总耗时
7ms
峰值内存
516.0 KiB