Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:7:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
    7 |         if (y%4==0 && y%100!=0 || y%400==0)
      |             ~~~~~~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 2ms 512.0 KiB
#2 Wrong Answer User output longer than standard answer. 2ms 512.0 KiB
#3 Wrong Answer User output longer than standard answer. 2ms 512.0 KiB
#4 Wrong Answer User output longer than standard answer. 2ms 512.0 KiB
#5 Wrong Answer User output longer than standard answer. 2ms 512.0 KiB
#6 Wrong Answer User output longer than standard answer. 1ms 512.0 KiB
#7 Wrong Answer User output longer than standard answer. 2ms 512.0 KiB
#8 Wrong Answer User output longer than standard answer. 2ms 492.0 KiB
#9 Wrong Answer User output longer than standard answer. 2ms 512.0 KiB
#10 Wrong Answer User output longer than standard answer. 2ms 512.0 KiB

信息

递交者
类型
递交
题目
P2881 时间跨越2025.3GESP2级T2
语言
C++
递交时间
2026-02-09 20:06:49
评测时间
2026-02-09 20:06:49
评测机
分数
0
总耗时
23ms
峰值内存
512.0 KiB