记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:2: warning: implicit declaration of function 'scant' [-Wimplicit-function-declaration]
  scant("%d%d%d,%a,%b,%c);
  ^~~~~
/in/foo.c:6:8: warning: missing terminating " character
  scant("%d%d%d,%a,%b,%c);
        ^
/in/foo.c:6:8: error: missing terminating " character
  scant("%d%d%d,%a,%b,%c);
        ^~~~~~~~~~~~~~~~~~
/in/foo.c:7:2: error: expected expression before 'if'
  if(a>b);
  ^~
/in/foo.c:11:13: error: stray '\357' in program
      if(a>c);
             ^
/in/foo.c:11:14: error: stray '\274' in program
      if(a>c);
              ^
/in/foo.c:11:15: error: stray '\233' in program
      if(a>c);
               ^
/in/foo.c:14:14: warning: missing terminating " character
       printf("%d%d\n,a,c)
              ^
/in/foo.c:14:14: error: missing terminating " character
       printf("%d%d\n,a,c)
              ^~~~~~~~~~~~
/in/foo.c:24:1: error: expected declaration or statement at end of input
 }
 ^
/in/foo.c:5:13: warning: unused variable 'c' [-Wunused-variable]
     int a,b,c;
             ^
/in/foo.c:5:11: warning: unused variable 'b' [-Wunused-variable]
     int a,b,c;
           ^
/in/foo.c:5:9: warning: unused variable 'a' [-Wunused-variable]
     int a,b,c;
         ^

信息

递交者
类型
递交
题目
A1-2 分支结构练习:三数的特征值
比赛
泰院2401程序设计基础作业赛第一场(牛刀小试)
语言
C
递交时间
2024-10-21 17:35:31
评测时间
2024-10-21 17:35:31
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes