/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Wrong Answer 21ms 3.004 MiB
#2 Accepted 20ms 2.957 MiB
#3 Accepted 20ms 3.008 MiB
#4 Accepted 21ms 3.102 MiB
#5 Wrong Answer 20ms 3.066 MiB

Code

y = int(input())

if y % 4 != 0:
	print("NO")
elif y % 4 == 0 and y % 100 != 0 and y % 400 == 0:
	print("YES")

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 13:30:39
Judged At
2024-11-11 03:46:40
Judged By
Score
60
Total Time
21ms
Peak Memory
3.102 MiB