Rosetta Problems

Sqrt Mod

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