Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:7:23: error: 'R' was not declared in this scope
7 | cout<<R;
| ^
/in/foo.cc:8:16: warning: comparison of constant '20' with boolean expression is always true [-Wbool-compare]
8 | if(10<P<=20)
| ~~~~^~~~
/in/foo.cc:8:14: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
8 | if(10<P<=20)
| ~~^~
/in/foo.cc:9:23: error: 'L' was not declared in this scope
9 | cout<<L;
| ^
信息
- 递交者
- 类型
- 递交
- 题目
- P3009 手机电量显示202512GESP1级T2
- 比赛
- 2026.1.10初级班结业测试
- 语言
- C++
- 递交时间
- 2026-01-10 09:28:10
- 评测时间
- 2026-01-10 09:28:10
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes