记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:17: warning: format '%i' expects argument of type 'int *', but argument 2 has type 'double *' [-Wformat=]
    5 |         scanf("%if",&x);
      |                ~^   ~~
      |                 |   |
      |                 |   double *
      |                 int *
      |                %le
/in/foo.c:11:31: error: expected ';' before '}' token
   11 |                 y=sqrt(5*x+10)
      |                               ^
      |                               ;
   12 |         }else if{
      |         ~                      
/in/foo.c:12:17: error: expected '(' before '{' token
   12 |         }else if{
      |                 ^
      |                 (

信息

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