记录详情

Compile Error

foo.c: In function ‘main’:
foo.c:7:15: warning: missing terminating " character
    7 |         scanf("%d %d %d,&a,&b,&c);
      |               ^
foo.c:7:15: error: missing terminating " character
    7 |         scanf("%d %d %d,&a,&b,&c);
      |               ^~~~~~~~~~~~~~~~~~~~
foo.c:8:19: error: expected expression before ‘if’
    8 |                   if(a>=b)
      |                   ^~
foo.c:18:72: error: stray ‘\’ in program
   18 |                                           printf("三数排序为:%d %d %d"\n,a,c,b);
      |                                                                        ^
foo.c:44:28: error: expected ‘;’ before ‘}’ token
   44 |                   return 0;
      |                            ^
      |                            ;
   45 | }
      | ~                           
foo.c:5:17: warning: unused variable ‘c’ [-Wunused-variable]
    5 |         int a,b,c;
      |                 ^
foo.c:5:15: warning: unused variable ‘b’ [-Wunused-variable]
    5 |         int a,b,c;
      |               ^
foo.c:5:13: warning: unused variable ‘a’ [-Wunused-variable]
    5 |         int a,b,c;
      |             ^

信息

递交者
类型
自测
题目
A1-1 分支结构练习:三数排序
语言
C
递交时间
2024-08-15 08:23:36
评测时间
2024-08-15 08:23:36
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes