记录详情

Compile Error

foo.c: In function ‘main’:
foo.c:6:15: warning: missing terminating " character
    6 |         scanf("%d,%d,%d,%x,&y,&z);
      |               ^
foo.c:6:15: error: missing terminating " character
    6 |         scanf("%d,%d,%d,%x,&y,&z);
      |               ^~~~~~~~~~~~~~~~~~~~
foo.c:8:9: error: expected expression before ‘if’
    8 |         if(x<y)
      |         ^~
foo.c:29:1: error: expected declaration or statement at end of input
   29 | }
      | ^
foo.c:5:15: warning: unused variable ‘t’ [-Wunused-variable]
    5 |     int x,y,z,t;
      |               ^
foo.c:5:13: warning: unused variable ‘z’ [-Wunused-variable]
    5 |     int x,y,z,t;
      |             ^
foo.c:5:11: warning: unused variable ‘y’ [-Wunused-variable]
    5 |     int x,y,z,t;
      |           ^
foo.c:5:9: warning: unused variable ‘x’ [-Wunused-variable]
    5 |     int x,y,z,t;
      |         ^

信息

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