记录详情

Compile Error

foo.c: In function ‘main’:
foo.c:6:24: error: expected expression before ‘%’ token
    6 |         scanf("%d%d%d",%x,&y,&z);
      |                        ^
foo.c:20:14: error: ‘z)’ undeclared (first use in this function)
   20 |         if(y<z)
      |              ^~~
foo.c:20:14: note: each undeclared identifier is reported only once for each function it appears in
foo.c:20:17: error: expected ‘)’ before ‘{’ token
   20 |         if(y<z)
      |           ~     ^
      |                 )
   21 |            {
      |            ~     
foo.c:29:1: error: expected expression before ‘}’ token
   29 | }
      | ^
foo.c:29:1: error: expected declaration or statement at end of input

信息

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