记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:14:32: warning: missing terminating " character
   14 |                         printf("%.2f\n%.2f\n,x1,x2);
      |                                ^
/in/foo.c:14:32: error: missing terminating " character
   14 |                         printf("%.2f\n%.2f\n,x1,x2);
      |                                ^~~~~~~~~~~~~~~~~~~~~
/in/foo.c:15:11: error: expected expression before '}' token
   15 |           }else if(delta==0){
      |           ^
/in/foo.c:14:32: error: expected ';' before '}' token
   14 |                         printf("%.2f\n%.2f\n,x1,x2);
      |                                ^
      |                                ;
   15 |           }else if(delta==0){
      |           ~                     
/in/foo.c:20:17: error: expected ';' before '}' token
   20 |         return 0
      |                 ^
      |                 ;
   21 | }
      | ~                
/in/foo.c:4:31: warning: variable 'x2' set but not used [-Wunused-but-set-variable]
    4 |         double a,b,c,delta,x1,x2;
      |                               ^~

信息

递交者
类型
自测
语言
C
递交时间
2025-11-13 18:15:46
评测时间
2025-11-13 18:15:46
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes