## [SOLUTION] Off by One solution codeforces – There are nn points on an infinite plane, 2021

Off by One solution codeforces There are nn points on an infinite plane. The ii-th point has coordinates (xi,yi)(xi,yi) such that xi>0xi>0 and yi>0yi>0. The coordinates are not necessarily integer. In one move you perform the following operations: choose two points aa and bb (a≠ba≠b); move point aa from (xa,ya)(xa,ya) to either (xa+1,ya)(xa+1,ya) or (xa,ya+1)(xa,ya+1); move point bb from (xb,yb)(xb,yb) to either (xb+1,yb)(xb+1,yb) or (xb,yb+1)(xb,yb+1); remove points aa and bb. However, the move can only be performed if there exists a line that passes through the new coordinates of aa, … Read more