TOPIC

1630 Python 3 Onde Errei?

Weswill asked 2 years ago

-- coding: utf-8 --

from math import gcd

while True : try : XY = [int(x) for x in input().split()] if XY[0] == XY[1] : print(4) else : FPB = gcd(XY[0], XY[1]) print((XY[0] // FPB) 2 + (XY[1] // FPB) 2) except EOFError : pass# your code goes here

This topic has not been answered yet. Be the first!

Remember not post solutions. Your post may be reviewed by our moderators.