Time Exceeded

/in/foo.cc: In function 'int Isleap(int, int, int)':
/in/foo.cc:7:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if(( y%4 == 0) && (y%100 != 0)||(y%400 == 0))
        ~~~~~~~~~~~~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'int All_day(int, int)':
/in/foo.cc:17:15: warning: the address of 'int Isleap(int, int, int)' will always evaluate as 'true' [-Waddress]
      if(Isleap)
               ^
/in/foo.cc: In function 'void Display_month(int, int)':
/in/foo.cc:64:15: warning: the address of 'int Isleap(int, int, int)' will always evaluate as 'true' [-Waddress]
      if(Isleap)
               ^
# 状态 耗时 内存占用
#1 Time Exceeded ≥1003ms ≥384.0 KiB
#2 Time Exceeded ≥1000ms ≥376.0 KiB

信息

递交者
类型
递交
题目
P1127 幸运数对(2)
语言
C++
递交时间
2021-12-12 17:32:43
评测时间
2021-12-12 17:32:43
评测机
分数
0
总耗时
≥2003ms
峰值内存
≥384.0 KiB