Wrong Answer
foo.cc: In member function 'bool MyClass::p(MyClass&)': foo.cc:15:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 15 | if(obj.x % 400 == 0 || (obj.x % 4 == 0 && obj.x % 100 != 0)); | ^~ foo.cc:16:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 16 | { | ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1004 OO1-4 日期类Date
- 语言
- C++
- 递交时间
- 2023-05-12 15:11:56
- 评测时间
- 2023-05-12 15:11:56
- 评测机
- 分数
- 60
- 总耗时
- 13ms
- 峰值内存
- 284.0 KiB