记录详情

Time Exceeded

/in/foo.cc: In member function 'bool Date::runnian(int)':
/in/foo.cc:18:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
         if (y % 4 == 0 && y % 100 != 0 || y % 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]
     }
     ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 360.0 KiB
#2 Wrong Answer 1ms 428.0 KiB
#3 Time Exceeded ≥1003ms ≥360.0 KiB
#4 Time Exceeded ≥1001ms ≥336.0 KiB
#5 Wrong Answer 1ms 356.0 KiB

信息

递交者
类型
递交
题目
P1303 OO1-5 日期时间类DateTime
语言
C++
递交时间
2024-03-17 18:09:30
评测时间
2024-03-17 18:09:30
评测机
分数
0
总耗时
≥2010ms
峰值内存
≥428.0 KiB