Rosetta Problems

山本式素因数分解

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/1397