Runtime Error
Code
a, b = map(int, input("").split())
for n in range(1, 1000):
if a % n == 0 and b % n == 0 and n != 1:
print(n)
else:
print(-1)
Information
- Submit By
- Type
- Submission
- Problem
- P1011 LCD
- Contest
- Brain booster - 1
- Language
- Python 3 (Python 3.12.3)
- Submit At
- 2023-12-31 15:11:42
- Judged At
- 2024-11-11 03:45:55
- Judged By
- Score
- 0
- Total Time
- 14ms
- Peak Memory
- 3.125 MiB