text: Checking if a plane can be divide by a line at 45 degrees such that weight sum is equal
code: void is_partition_possible ( int n , int x [ ] , int y [ ] , int w [ ] ) { map < int , int > weight_at_x ; int max_x = -2e3 , min_x = 2e3 ;