Rosetta Problems
← atcoder に戻る
Divisibility Homomorphism
https://atcoder.jp/contests/agc067/tasks/agc067_c