Runtime Error
Code
T=int(input())
if 1<=T<=10^4:
import math
N,M=map(int,input().split())
gcd=math.gcd(N,M)
lcd=(N*M)/gcd
print(lcd)
Information
- Submit By
- Type
- Submission
- Problem
- P1011 LCD
- Contest
- Brain booster - 1
- Language
- Python 3 (Python 3.12.3)
- Submit At
- 2023-12-31 16:51:59
- Judged At
- 2024-11-11 03:45:00
- Judged By
- Score
- 0
- Total Time
- 14ms
- Peak Memory
- 3.105 MiB