Rosetta Problems

Gcd of Gaussian Integers

https://judge.yosupo.jp/problem/gcd_of_gaussian_integers