Accepted
/in/foo.cc: In function 'int main()': /in/foo.cc:7:14: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 7 | if(!n==4) cout<<3; | ^~ /in/foo.cc:7:12: note: add parentheses around left hand side expression to silence this warning 7 | if(!n==4) cout<<3; | ^~ | ( ) /in/foo.cc:7:14: warning: comparison of constant '4' with boolean expression is always false [-Wbool-compare] 7 | if(!n==4) cout<<3; | ~~^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1185 永生诅咒
- 比赛
- 2025程序设计与竞赛作业赛第一场(整装出发)
- 语言
- C++
- 递交时间
- 2025-09-27 19:16:07
- 评测时间
- 2025-10-03 02:09:38
- 评测机
- 分数
- 100
- 总耗时
- 5ms
- 峰值内存
- 504.0 KiB