Time Exceeded
/in/foo.cc: In member function 'bool Date::runnian(int)': /in/foo.cc:18:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (y2 % 4 == 0 && y2 % 100 != 0 || y2 % 400 == 0) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /in/foo.cc: In member function 'int Date::monthday(int, int)': /in/foo.cc:36:5: warning: control reaches end of non-void function [-Wreturn-type] } ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1303 OO1-5 日期时间类DateTime
- 语言
- C++
- 递交时间
- 2024-03-17 18:10:44
- 评测时间
- 2024-03-17 18:10:44
- 评测机
- 分数
- 0
- 总耗时
- ≥1662ms
- 峰值内存
- ≥428.0 KiB