Rosetta Problems

Min of Mod of Linear

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