记录详情

Compile Error

foo.c: In function ‘main’:
foo.c:6:15: warning: missing terminating " character
    6 |         scanf("%d%d%d,&a,&b,&c);
      |               ^
foo.c:6:15: error: missing terminating " character
    6 |         scanf("%d%d%d,&a,&b,&c);
      |               ^~~~~~~~~~~~~~~~~~
foo.c:7:19: error: expected expression before ‘if’
    7 |                   if(a<b)
      |                   ^~
foo.c:28:1: error: expected declaration or statement at end of input
   28 | }
      | ^
foo.c:5:19: warning: unused variable ‘d’ [-Wunused-variable]
    5 |         int a,b,c,d;
      |                   ^
foo.c:5:17: warning: unused variable ‘c’ [-Wunused-variable]
    5 |         int a,b,c,d;
      |                 ^
foo.c:5:15: warning: unused variable ‘b’ [-Wunused-variable]
    5 |         int a,b,c,d;
      |               ^
foo.c:5:13: warning: unused variable ‘a’ [-Wunused-variable]
    5 |         int a,b,c,d;
      |             ^

信息

递交者
类型
递交
题目
A1-1 分支结构练习:三数排序
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C
递交时间
2024-08-16 11:17:59
评测时间
2024-08-16 11:17:59
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes