Rosetta Problems

三角形と格子点

https://atcoder.jp/contests/bitflyer2018-final/tasks/bitflyer2018_final_h