Accepted
foo.cc: In function 'int main()': foo.cc:11:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 11 | else if(a==1||a>1&&a<10) | ~~~^~~~~~ foo.cc:13:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 13 | else if(a==10||a>10&&a<15) | ~~~~^~~~~~ foo.cc:15:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 15 | else if(a==15||a>15&&a<30) | ~~~~^~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- P1022 分段函数
- 语言
- C++
- 递交时间
- 2022-07-20 00:45:00
- 评测时间
- 2022-07-20 00:45:00
- 评测机
- 分数
- 50
- 总耗时
- 13ms
- 峰值内存
- 384.0 KiB