记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:11:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
   11 |         printf("%d %d %d %d %d",x,y,a,b,c);
      |                 ~^              ~
      |                  |              |
      |                  int            long int
      |                 %ld
foo.c:11:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
   11 |         printf("%d %d %d %d %d",x,y,a,b,c);
      |                    ~^             ~
      |                     |             |
      |                     int           long int
      |                    %ld
foo.c:11:24: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
   11 |         printf("%d %d %d %d %d",x,y,a,b,c);
      |                       ~^            ~
      |                        |            |
      |                        int          long int
      |                       %ld
foo.c:11:27: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
   11 |         printf("%d %d %d %d %d",x,y,a,b,c);
      |                          ~^           ~
      |                           |           |
      |                           int         long int
      |                          %ld
foo.c:11:30: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
   11 |         printf("%d %d %d %d %d",x,y,a,b,c);
      |                             ~^          ~
      |                              |          |
      |                              int        long int
      |                             %ld
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1006 表达式运算(三)
语言
C
递交时间
2022-08-21 09:16:10
评测时间
2022-08-21 09:16:10
评测机
分数
0
总耗时
1ms
峰值内存
256.0 KiB