记录详情

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]
     }
     ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 324.0 KiB
#2 Wrong Answer 652ms 420.0 KiB
#3 Wrong Answer 1ms 428.0 KiB
#4 Time Exceeded ≥1004ms ≥328.0 KiB
#5 Wrong Answer 2ms 352.0 KiB

信息

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