Esempio n. 1
0
def gcdinvert(e,g):
	from functions import gcdinvert as gcdi
	e=e%g
	if not e:
		return 0
	return gcdi(e,g)
Esempio n. 2
0
def gcdinvert(e,g):
	from functions import gcdinvert as gcdi
	e=e%g
	return (gcdi(e,g))%g