记录详情

Compile Error

/in/foo.c:3:1: error: stray '\357' in program
 {int X,y,z;
 ^
/in/foo.c:3:2: error: stray '\275' in program
 {int X,y,z;
  ^
/in/foo.c:3:3: error: stray '\233' in program
 {int X,y,z;
   ^
/in/foo.c: In function 'main':
/in/foo.c:5:7: error: stray '\357' in program
 printf("请输入三个数:");
       ^
/in/foo.c:5:8: error: stray '\274' in program
 printf("请输入三个数:");
        ^
/in/foo.c:5:9: error: stray '\210' in program
 printf("请输入三个数:");
         ^
/in/foo.c:5:1: error: expected declaration specifiers before 'printf'
 printf("请输入三个数:");
 ^~~~~~
/in/foo.c:5:33: error: stray '\357' in program
 printf("请输入三个数:");
                                 ^
/in/foo.c:5:34: error: stray '\274' in program
 printf("请输入三个数:");
                                  ^
/in/foo.c:5:35: error: stray '\211' in program
 printf("请输入三个数:");
                                   ^
/in/foo.c:5:36: error: stray '\357' in program
 printf("请输入三个数:");
                                    ^
/in/foo.c:5:37: error: stray '\274' in program
 printf("请输入三个数:");
                                     ^
/in/foo.c:5:38: error: stray '\233' in program
 printf("请输入三个数:");
                                      ^
/in/foo.c:6:7: warning: missing terminating " character
 scanf("d %d %d,&x, &y,&z);
       ^
/in/foo.c:6:7: error: missing terminating " character
 scanf("d %d %d,&x, &y,&z);
       ^~~~~~~~~~~~~~~~~~~~
/in/foo.c:8:1: error: expected declaration specifiers before 'max'
 max=(x>y?x:y)>z?(x>y?x:y):z;
 ^~~
/in/foo.c:9:1: error: expected declaration specifiers before 'if'
 if(x>min) && (x<max)) mid=x;
 ^~
/in/foo.c:10:1: error: expected declaration specifiers before 'else'
 else if(y>min) && (y<max)) mid=y;
 ^~~~
/in/foo.c:11:1: error: expected declaration specifiers before 'else'
 else mid=z;
 ^~~~
/in/foo.c:12:7: error: stray '\357' in program
 printf("最小数为:%d\n",min);
       ^
/in/foo.c:12:8: error: stray '\274' in program
 printf("最小数为:%d\n",min);
        ^
/in/foo.c:12:9: error: stray '\210' in program
 printf("最小数为:%d\n",min);
         ^
/in/foo.c:12:1: error: expected declaration specifiers before 'printf'
 printf("最小数为:%d\n",min);
 ^~~~~~
/in/foo.c:12:31: error: stray '\357' in program
 printf("最小数为:%d\n",min);
                               ^
/in/foo.c:12:32: error: stray '\274' in program
 printf("最小数为:%d\n",min);
                                ^
/in/foo.c:12:33: error: stray '\214' in program
 printf("最小数为:%d\n",min);
                                 ^
/in/foo.c:12:37: error: stray '\357' in program
 printf("最小数为:%d\n",min);
                                     ^
/in/foo.c:12:38: error: stray '\274' in program
 printf("最小数为:%d\n",min);
                                      ^
/in/foo.c:12:39: error: stray '\211' in program
 printf("最小数为:%d\n",min);
                                       ^
/in/foo.c:12:40: error: stray '\357' in program
 printf("最小数为:%d\n",min);
                                        ^
/in/foo.c:12:41: error: stray '\274' in program
 printf("最小数为:%d\n",min);
                                         ^
/in/foo.c:12:42: error: stray '\233' in program
 printf("最小数为:%d\n",min);
                                          ^
/in/foo.c:13:7: error: stray '\357' in program
 printf("最大数为:%d\n",max);
       ^
/in/foo.c:13:8: error: stray '\274' in program
 printf("最大数为:%d\n",max);
        ^
/in/foo.c:13:9: error: stray '\210' in program
 printf("最大数为:%d\n",max);
         ^
/in/foo.c:13:31: error: stray '\357' in program
 printf("最大数为:%d\n",max);
                               ^
/in/foo.c:13:32: error: stray '\274' in program
 printf("最大数为:%d\n",max);
                                ^
/in/foo.c:13:33: error: stray '\214' in program
 printf("最大数为:%d\n",max);
                                 ^
/in/foo.c:13:38: error: stray '\357' in program
 printf("最大数为:%d\n",max);
                                      ^
/in/foo.c:13:39: error: stray '\274' in program
 printf("最大数为:%d\n",max);
                                       ^
/in/foo.c:13:40: error: stray '\233' in program
 printf("最大数为:%d\n",max);
                                        ^
/in/foo.c:14:7: error: stray '\357' in program
 printf("中间数为:%d\n",mid);
       ^
/in/foo.c:14:8: error: stray '\274' in program
 printf("中间数为:%d\n",mid);
        ^
/in/foo.c:14:9: error: stray '\210' in program
 printf("中间数为:%d\n",mid);
         ^
/in/foo.c:15:1: error: expected declaration specifiers before '}' token
 }
 ^
/in/foo.c:4:13: error: declaration for parameter 'mid' but no such parameter
 int min,max,mid;
             ^~~
/in/foo.c:4:9: error: declaration for parameter 'max' but no such parameter
 int min,max,mid;
         ^~~
/in/foo.c:4:5: error: declaration for parameter 'min' but no such parameter
 int min,max,mid;
     ^~~
/in/foo.c:3:12: error: declaration for parameter 'z' but no such parameter
 {int X,y,z;
            ^
/in/foo.c:3:10: error: declaration for parameter 'y' but no such parameter
 {int X,y,z;
          ^
/in/foo.c:3:8: error: declaration for parameter 'X' but no such parameter
 {int X,y,z;
        ^
/in/foo.c:15:1: error: expected '{' at end of input
 }
 ^

信息

递交者
类型
自测
题目
A1-2 分支结构练习:三数的特征值
语言
C
递交时间
2024-08-19 14:49:33
评测时间
2024-08-19 14:49:33
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes