Rosetta Problems

Gcd Convolution

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