Wrong Answer
/in/foo.cc: In member function 'int Date::DaysinYear(const Date&)': /in/foo.cc:69:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (date2.month >= 3 && (date2.year % 4 == 0 && date2.year % 100 != 0) || (date2.year % 400 == 0)) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1005 OO1-4 日期类Date
- 语言
- C++
- 递交时间
- 2024-05-17 15:21:56
- 评测时间
- 2024-05-17 15:21:56
- 评测机
- 分数
- 80
- 总耗时
- 7ms
- 峰值内存
- 380.0 KiB