Runtime Error
Code
import math
def main():
g = input()
for i in range(g):
x,y = map(int,input().split())
gcd = math.gcd(x,y)
print(f'Game #{i+1}: {y//gcd} / {x//gcd}')
if __name__ == '__main__':
main()
Information
- Submit By
- Type
- Submission
- Problem
- P1001 Achievement-Unlocked
- Language
- Python 3 (Python 3.12.3)
- Submit At
- 2024-11-02 03:36:31
- Judged At
- 2024-11-11 02:34:16
- Judged By
- Score
- 0
- Total Time
- 16ms
- Peak Memory
- 3.082 MiB