记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:40: warning: format '%d' expects a matching 'int' argument [-Wformat=]
    9 |                         printf("%d %d %d", a, c);
      |                                       ~^
      |                                        |
      |                                        int
foo.cc:12:40: warning: format '%d' expects a matching 'int' argument [-Wformat=]
   12 |                         printf("%d %d %d", c, a);
      |                                       ~^
      |                                        |
      |                                        int
foo.cc:14:37: warning: format '%d' expects a matching 'int' argument [-Wformat=]
   14 |                 else printf("%d %d %d", b, a);
      |                                    ~^
      |                                     |
      |                                     int
foo.cc:17:32: warning: format '%d' expects a matching 'int' argument [-Wformat=]
   17 |                 printf("%d %d %d", b, c);
      |                               ~^
      |                                |
      |                                int
foo.cc:20:32: warning: format '%d' expects a matching 'int' argument [-Wformat=]
   20 |                 printf("%d %d %d", a, b);
      |                               ~^
      |                                |
      |                                int
foo.cc:22:29: warning: format '%d' expects a matching 'int' argument [-Wformat=]
   22 |         else printf("%d %d %d", c, b);
      |                            ~^
      |                             |
      |                             int
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 2ms 256.0 KiB
#2 Wrong Answer User output longer than standard answer. 1ms 256.0 KiB
#3 Wrong Answer User output longer than standard answer. 1ms 256.0 KiB
#4 Wrong Answer User output longer than standard answer. 1ms 256.0 KiB
#5 Wrong Answer User output longer than standard answer. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
A1-2 分支结构练习:三数的特征值
语言
C++
递交时间
2022-10-03 18:08:07
评测时间
2022-10-03 18:08:07
评测机
分数
0
总耗时
8ms
峰值内存
256.0 KiB