记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:12:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
   12 |         printf("%d\n%d\n%d\n",sum,pro,rem);
      |                 ~^            ~~~
      |                  |            |
      |                  int          long int
      |                 %ld
foo.c:12:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
   12 |         printf("%d\n%d\n%d\n",sum,pro,rem);
      |                     ~^            ~~~
      |                      |            |
      |                      int          long int
      |                     %ld
foo.c:12:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
   12 |         printf("%d\n%d\n%d\n",sum,pro,rem);
      |                         ~^            ~~~
      |                          |            |
      |                          int          long int
      |                         %ld
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 284.0 KiB
#2 Accepted 2ms 284.0 KiB
#3 Accepted 2ms 284.0 KiB
#4 Wrong Answer Read 1411565458, expect 10001500050. 2ms 284.0 KiB
#5 Wrong Answer Read 1078783472, expect 400510742000. 1ms 284.0 KiB

信息

递交者
类型
递交
题目
P1078 xf1-1两数和、积、余
语言
C
递交时间
2023-12-21 16:50:55
评测时间
2023-12-21 16:50:55
评测机
分数
60
总耗时
9ms
峰值内存
284.0 KiB