Time Exceeded
Code
Y=int(input())
while 1996<Y<2100:
if(Y%4==0 and Y%400!=0):
print("YES")
else:
print("NO")
Information
- Submit By
- Type
- Submission
- Problem
- P1023 Happy new year 2024
- Contest
- Brain booster - 1
- Language
- Python 3 (Python 3.12.3)
- Submit At
- 2023-12-31 14:18:46
- Judged At
- 2024-11-11 03:46:21
- Judged By
- Score
- 0
- Total Time
- ≥1094ms
- Peak Memory
- ≥9.039 MiB