记录详情

Wrong Answer

/in/foo.cc: In member function 'bool Date::isLeapyear()':
/in/foo.cc:15:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if((year-1)%400==0||(year-1)%4==0&&(year-1)%100!=0)
                        ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 208.0 KiB
#2 Wrong Answer 1ms 208.0 KiB
#3 Accepted 1ms 208.0 KiB
#4 Wrong Answer 1ms 212.0 KiB
#5 Wrong Answer 1ms 204.0 KiB

信息

递交者
类型
递交
题目
P1005 OO1-4 日期类Date
语言
C++
递交时间
2019-03-31 00:00:28
评测时间
2019-03-31 00:00:28
评测机
分数
20
总耗时
7ms
峰值内存
212.0 KiB