记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:12:4: error: stray '\357' in program
  if(delter=0)
    ^
/in/foo.c:12:5: error: stray '\274' in program
  if(delter=0)
     ^
/in/foo.c:12:6: error: stray '\210' in program
  if(delter=0)
      ^
/in/foo.c:12:7: error: expected '(' before 'delter'
  if(delter=0)
       ^~~~~~
/in/foo.c:12:15: error: stray '\357' in program
  if(delter=0)
               ^
/in/foo.c:12:16: error: stray '\274' in program
  if(delter=0)
                ^
/in/foo.c:12:17: error: stray '\211' in program
  if(delter=0)
                 ^
/in/foo.c:18:27: error: stray '\357' in program
    printf("%.2f\n%.2f",x1=(-b+sqrt(delter)/2*a),x2=(-b-sqrt(delter)/2*a));
                           ^
/in/foo.c:18:28: error: stray '\274' in program
    printf("%.2f\n%.2f",x1=(-b+sqrt(delter)/2*a),x2=(-b-sqrt(delter)/2*a));
                            ^
/in/foo.c:18:29: error: stray '\210' in program
    printf("%.2f\n%.2f",x1=(-b+sqrt(delter)/2*a),x2=(-b-sqrt(delter)/2*a));
                             ^
/in/foo.c:18:54: error: stray '\357' in program
    printf("%.2f\n%.2f",x1=(-b+sqrt(delter)/2*a),x2=(-b-sqrt(delter)/2*a));
                                                      ^
/in/foo.c:18:55: error: stray '\274' in program
    printf("%.2f\n%.2f",x1=(-b+sqrt(delter)/2*a),x2=(-b-sqrt(delter)/2*a));
                                                       ^
/in/foo.c:18:56: error: stray '\210' in program
    printf("%.2f\n%.2f",x1=(-b+sqrt(delter)/2*a),x2=(-b-sqrt(delter)/2*a));
                                                        ^
/in/foo.c:18:77: error: expected statement before ')' token
    printf("%.2f\n%.2f",x1=(-b+sqrt(delter)/2*a),x2=(-b-sqrt(delter)/2*a));
                                                                             ^
/in/foo.c:5:29: warning: unused variable 'x2' [-Wunused-variable]
     float a,b,c,delter,x,x1,x2;
                             ^~
/in/foo.c:5:24: warning: variable 'x' set but not used [-Wunused-but-set-variable]
     float a,b,c,delter,x,x1,x2;
                        ^
/in/foo.c:5:17: warning: variable 'delter' set but not used [-Wunused-but-set-variable]
     float a,b,c,delter,x,x1,x2;
                 ^~~~~~
/in/foo.c: At top level:
/in/foo.c:19:4: error: expected identifier or '(' before 'else'
   }else
    ^~~~
/in/foo.c:24:2: error: expected identifier or '(' before 'return'
  return 0;
  ^~~~~~
/in/foo.c:25:1: error: expected identifier or '(' before '}' token
 }
 ^

信息

递交者
类型
自测
语言
C
递交时间
2024-12-23 15:28:11
评测时间
2024-12-23 15:28:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes