记录详情

Compile Error

foo.c: In function 'main':
foo.c:4:2: error: 'inta' undeclared (first use in this function); did you mean 'int'?
  inta,b,c,t;
  ^~~~
  int
foo.c:4:2: note: each undeclared identifier is reported only once for each function it appears in
foo.c:4:7: error: 'b' undeclared (first use in this function)
  inta,b,c,t;
       ^
foo.c:4:6: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  inta,b,c,t;
      ^
foo.c:4:9: error: 'c' undeclared (first use in this function)
  inta,b,c,t;
         ^
foo.c:4:8: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  inta,b,c,t;
        ^
foo.c:4:11: error: 't' undeclared (first use in this function)
  inta,b,c,t;
           ^
foo.c:4:10: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  inta,b,c,t;
          ^
foo.c:5:30: error: stray '\357' in program
  printf("输入a,b,c:");
                              ^
foo.c:5:31: error: stray '\274' in program
  printf("输入a,b,c:");
                               ^
foo.c:5:32: error: stray '\233' in program
  printf("输入a,b,c:");
                                ^
foo.c:6:2: error: expected ';' before 'scanf'
  scanf(“%d%d%d",&a,&b,&c);
  ^~~~~
foo.c:6:7: error: stray '\357' in program
  scanf(“%d%d%d",&a,&b,&c);
       ^
foo.c:6:8: error: stray '\274' in program
  scanf(“%d%d%d",&a,&b,&c);
        ^
foo.c:6:9: error: stray '\210' in program
  scanf(“%d%d%d",&a,&b,&c);
         ^
foo.c:6:10: error: stray '\342' in program
  scanf(“%d%d%d",&a,&b,&c);
          ^
foo.c:6:11: error: stray '\200' in program
  scanf(“%d%d%d",&a,&b,&c);
           ^
foo.c:6:12: error: stray '\234' in program
  scanf(“%d%d%d",&a,&b,&c);
            ^
foo.c:6:19: warning: missing terminating " character
  scanf(“%d%d%d",&a,&b,&c);
                   ^
foo.c:6:19: error: missing terminating " character
  scanf(“%d%d%d",&a,&b,&c);
                   ^~~~~~~~~~~~~~
foo.c:12:13: error: stray '\357' in program
  if(b<c){t=b,b=c;c=t;}
             ^
foo.c:12:14: error: stray '\274' in program
  if(b<c){t=b,b=c;c=t;}
              ^
foo.c:12:15: error: stray '\214' in program
  if(b<c){t=b,b=c;c=t;}
               ^
foo.c:13:36: error: stray '\357' in program
  printf(" 从大到小输出:\n");
                                    ^
foo.c:13:37: error: stray '\274' in program
  printf(" 从大到小输出:\n");
                                     ^
foo.c:13:38: error: stray '\233' in program
  printf(" 从大到小输出:\n");
                                      ^
foo.c:14:8: error: stray '\357' in program
  printf(”%d\t%d\t%d\n",a,b,c);
        ^
foo.c:14:9: error: stray '\274' in program
  printf(”%d\t%d\t%d\n",a,b,c);
         ^
foo.c:14:10: error: stray '\210' in program
  printf(”%d\t%d\t%d\n",a,b,c);
          ^
foo.c:14:11: error: stray '\342' in program
  printf(”%d\t%d\t%d\n",a,b,c);
           ^
foo.c:14:12: error: stray '\200' in program
  printf(”%d\t%d\t%d\n",a,b,c);
            ^
foo.c:14:13: error: stray '\235' in program
  printf(”%d\t%d\t%d\n",a,b,c);
             ^
foo.c:14:16: error: stray '\' in program
  printf(”%d\t%d\t%d\n",a,b,c);
                ^
foo.c:14:20: error: stray '\' in program
  printf(”%d\t%d\t%d\n",a,b,c);
                    ^
foo.c:14:24: error: stray '\' in program
  printf(”%d\t%d\t%d\n",a,b,c);
                        ^
foo.c:14:26: warning: missing terminating " character
  printf(”%d\t%d\t%d\n",a,b,c);
                          ^
foo.c:14:26: error: missing terminating " character
  printf(”%d\t%d\t%d\n",a,b,c);
                          ^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
语言
C
递交时间
2021-08-15 18:52:43
评测时间
2021-08-15 18:52:43
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes