记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:8:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
    8 |     printf("%d\n%d\n%d",x1+x2,x1*x2,x1%x2);
      |             ~^          ~~~~~
      |              |            |
      |              int          long long int
      |             %lld
foo.c:8:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
    8 |     printf("%d\n%d\n%d",x1+x2,x1*x2,x1%x2);
      |                 ~^            ~~~~~
      |                  |              |
      |                  int            long long int
      |                 %lld
foo.c:8:22: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
    8 |     printf("%d\n%d\n%d",x1+x2,x1*x2,x1%x2);
      |                     ~^              ~~~~~
      |                      |                |
      |                      int              long long int
      |                     %lld
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 288.0 KiB
#2 Accepted 2ms 388.0 KiB
#3 Accepted 1ms 284.0 KiB
#4 Wrong Answer Read 1411565458, expect 10001500050. 1ms 388.0 KiB
#5 Wrong Answer 0a1,3 > 1558563 > 40051074200 1ms 388.0 KiB

信息

递交者
类型
递交
题目
P1078 xf1-1两数和、积、余
语言
C
递交时间
2023-12-27 14:50:43
评测时间
2023-12-27 14:50:43
评测机
分数
60
总耗时
10ms
峰值内存
388.0 KiB