Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
         if(year%4==0 && year%100!=0 || year%400==0)
            ~~~~~~~~~~^~~~~~~~~~~~~~
/in/foo.cc:16:15: warning: 'days' may be used uninitialized in this function [-Wmaybe-uninitialized]
     cout<<days;
               ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 356.0 KiB
#2 Wrong Answer 1ms 356.0 KiB
#3 Wrong Answer 1ms 376.0 KiB
#4 Accepted 1ms 336.0 KiB
#5 Accepted 1ms 360.0 KiB

信息

递交者
类型
递交
题目
P1023 某月的天数
语言
C++
递交时间
2024-02-12 12:40:53
评测时间
2024-02-12 12:40:53
评测机
分数
40
总耗时
7ms
峰值内存
376.0 KiB