记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:14:24: warning: missing terminating ' character
   14 |         printf("%.3f\n"'y);
      |                        ^
/in/foo.c:14:24: error: missing terminating ' character
   14 |         printf("%.3f\n"'y);
      |                        ^~~~
/in/foo.c:14:24: error: expected ')' before 'return'
   14 |         printf("%.3f\n"'y);
      |               ~        ^
      |                        )
   15 |         return 0;
      |         ~~~~~~          
/in/foo.c:14:20: warning: format '%f' expects a matching 'double' argument [-Wformat=]
   14 |         printf("%.3f\n"'y);
      |                 ~~~^
      |                    |
      |                    double
/in/foo.c:15:18: error: expected ';' before '}' token
   15 |         return 0;
      |                  ^
      |                  ;
   16 | }
      | ~                 
/in/foo.c:5:17: warning: variable 'y' set but not used [-Wunused-but-set-variable]
    5 |         float x,y;
      |                 ^

信息

递交者
类型
递交
比赛
2025-C-6
语言
C
递交时间
2025-12-29 11:40:09
评测时间
2025-12-29 11:40:09
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes