Compile Error
/in/foo.cc: In member function 'bool hw::operator<(hw) const': /in/foo.cc:9:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 9 | return nd>x.nd||nd==x.nd&&bh<x.bh; | ~~~~~~~~^~~~~~~~~ /in/foo.cc: In function 'int main()': /in/foo.cc:23:14: error: expected '}' at end of input 23 | return 0; | ^ /in/foo.cc:15:1: note: to match this '{' 15 | { | ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1900 假期作业
- 语言
- C++
- 递交时间
- 2025-07-15 20:14:37
- 评测时间
- 2025-07-15 20:14:37
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes