记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:9:14: warning: comparison of constant '10' with boolean expression is always true [-Wbool-compare]
  else if(0<=x<10)
              ^
/in/foo.c:9:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  else if(0<=x<10)
          ~^~~
/in/foo.c:10:13: error: invalid suffix "x" on integer constant
   y=(2*x*x)+4x-5;
             ^~

信息

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