Rosetta Problems

Extended Euclid Algorithm

https://onlinejudge.u-aizu.ac.jp/problems/NTL_1_E