Wrong Answer
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-11-11 03:43:39
- Judged By
- Score
- 20
- Total Time
- 16ms
- Peak Memory
- 3.102 MiB