C - Floor Sum ~直線以下の格子点の数え上げ~

f:id:peroon:20200918014241p:plain

図示のみです

f:id:peroon:20200918014310p:plain