记录详情

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)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 284.0 KiB
#2 Accepted 2ms 284.0 KiB
#3 Accepted 2ms 284.0 KiB
#4 Wrong Answer Read 731, expect 730. 2ms 284.0 KiB
#5 Wrong Answer Read 1003, expect 1000. 2ms 284.0 KiB

信息

递交者
类型
递交
题目
P1004 OO1-4 日期类Date
语言
C++
递交时间
2023-05-12 15:11:56
评测时间
2023-05-12 15:11:56
评测机
分数
60
总耗时
13ms
峰值内存
284.0 KiB