Time Exceeded

foo.cc: In function 'int main()':
foo.cc:9:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    9 |                 if(x%4==0&&x%100!=0||x%400==0)
      |                    ~~~~~~^~~~~~~~~~
foo.cc:11:20: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized]
   11 |                 cnt++;
      |                 ~~~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 140729704455192, expect 21825. 4ms 332.0 KiB
#2 Time Exceeded ≥1101ms ≥284.0 KiB

信息

递交者
类型
递交
题目
P1625 闰年祝福
语言
C++
递交时间
2023-07-20 20:56:48
评测时间
2023-07-20 20:56:48
评测机
分数
0
总耗时
≥1105ms
峰值内存
≥332.0 KiB