记录详情

Wrong Answer

foo.c: In function ‘main’:
foo.c:6:27: warning: unknown escape sequence: '\040'
    6 |         scanf("%d\ %d\ %d",&a,&b,&c);
      |                           ^
foo.c:6:27: warning: unknown escape sequence: '\040'
foo.c:8:40: warning: unknown escape sequence: '\040'
    8 |                 if(b>c) printf("%d\ %d",&b,&a);
      |                                        ^
foo.c:8:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int *’ [-Wformat=]
    8 |                 if(b>c) printf("%d\ %d",&b,&a);
      |                                 ~^      ~~
      |                                  |      |
      |                                  int    int *
      |                                 %ls
foo.c:8:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat=]
    8 |                 if(b>c) printf("%d\ %d",&b,&a);
      |                                     ~^     ~~
      |                                      |     |
      |                                      int   int *
      |                                     %ls
foo.c:9:53: warning: unknown escape sequence: '\040'
    9 |                         else if(c>a) printf("%d\ %d",&a,&c);
      |                                                     ^
foo.c:9:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int *’ [-Wformat=]
    9 |                         else if(c>a) printf("%d\ %d",&a,&c);
      |                                              ~^      ~~
      |                                               |      |
      |                                               int    int *
      |                                              %ls
foo.c:9:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat=]
    9 |                         else if(c>a) printf("%d\ %d",&a,&c);
      |                                                  ~^     ~~
      |                                                   |     |
      |                                                   int   int *
      |                                                  %ls
foo.c:10:53: warning: unknown escape sequence: '\040'
   10 |                                 else printf("%d\ %d",&c,&a);}
      |                                                     ^
foo.c:10:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int *’ [-Wformat=]
   10 |                                 else printf("%d\ %d",&c,&a);}
      |                                              ~^      ~~
      |                                               |      |
      |                                               int    int *
      |                                              %ls
foo.c:10:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat=]
   10 |                                 else printf("%d\ %d",&c,&a);}
      |                                                  ~^     ~~
      |                                                   |     |
      |                                                   int   int *
      |                                                  %ls
foo.c:12:40: warning: unknown escape sequence: '\040'
   12 |                 if(a>c) printf("%d\ %d",a,b);
      |                                        ^
foo.c:13:53: warning: unknown escape sequence: '\040'
   13 |                         else if(c>b) printf("%d\ %d",b,c);
      |                                                     ^
foo.c:14:53: warning: unknown escape sequence: '\040'
   14 |                                 else printf("%d\ %d",c,b);}
      |                                                     ^
# 状态 耗时 内存占用
#1 Wrong Answer Read -1827412744, expect 3. 1ms 516.0 KiB
#2 Accepted 1ms 552.0 KiB
#3 Accepted 1ms 288.0 KiB
#4 Accepted 1ms 288.0 KiB
#5 Wrong Answer Read -1087578932, expect 3. 1ms 516.0 KiB

信息

递交者
类型
递交
题目
A1-2 分支结构练习:三数的特征值
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C
递交时间
2024-08-15 13:32:24
评测时间
2024-08-15 13:32:24
评测机
分数
60
总耗时
7ms
峰值内存
552.0 KiB