/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Wrong Answer 15ms 3.012 MiB
#2 Accepted 15ms 3.117 MiB
#3 Accepted 15ms 2.887 MiB
#4 Wrong Answer 15ms 3.113 MiB
#5 Wrong Answer 15ms 3.07 MiB
#6 Wrong Answer 15ms 3.016 MiB
#7 Accepted 15ms 3.109 MiB

Code

t=int(input())
if t<5:
    print(10)
elif t>=5:
    if t % 2 != 0 and t % 5 != 0:
        print(10)
    elif t % 10 == 0:
        print(1)
    elif t % 5 == 0:
        print(2)
    elif t % 2 == 0:
        x = (t % 2)
        if x % 2 != 0 and x%5!=0:
            print(10)
        elif x % 2 == 0:
            print(10)
        elif x % 5 == 0:
            print(2)

Information

Submit By
Type
Submission
Problem
P1012 Zéros de fin
Language
Python 3 (Python 3.12.3)
Submit At
2024-01-09 04:19:07
Judged At
2024-10-03 14:03:08
Judged By
Score
60
Total Time
15ms
Peak Memory
3.117 MiB