记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:25: error: expected primary-expression before '<=' token
    7 |            if(a>=100 && <=999)
      |                         ^~
/in/foo.cc:8:28: error: 'YES' was not declared in this scope
    8 |                    cout << YES;
      |                            ^~~
/in/foo.cc:9:22: error: expected primary-expression before '%' token
    9 |            if(a<100 %% >999)
      |                      ^
/in/foo.cc:9:24: error: expected primary-expression before '>' token
    9 |            if(a<100 %% >999)
      |                        ^
/in/foo.cc:10:28: error: 'NO' was not declared in this scope
   10 |                    cout << NO;
      |                            ^~

信息

递交者
类型
自测
语言
C++
递交时间
2026-11-13 20:06:05
评测时间
2026-11-13 20:06:05
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes