/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 15ms 3.125 MiB
#2 Accepted 15ms 3.027 MiB
#3 Accepted 15ms 3.02 MiB
#4 Accepted 15ms 2.961 MiB
#5 Accepted 15ms 2.969 MiB

Code

n = int(input())
if (n%4 == 0 and n%100 != 0) or n%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 13:19:04
Judged At
2024-11-11 03:46:45
Judged By
Score
100
Total Time
15ms
Peak Memory
3.125 MiB