It’s universally acknowledged that there’re innumerable trees in the campus of HUST. And you know that, trees have the special ability to refresh the air. If an area, which is surrou
It’s universally acknowledged that there’re innumerable trees in the campus of HUST. And you know that, trees have the special ability to refresh the air. If an area, which is surrounded by trees, is separated from the outer atmosphere, you can call it “the supercalifragilisticexpialidocious area”. Students can enjoy the healthiest air there. Then, you happened to know that HUST will plant N trees in a bare plain, so you want to calculate the total size of “the supercalifragilisticexpialidocious area” after each operation. We describe the position of trees with a coordinate.(Xi,Yi). For example, after 9 trees were planted, the green area is a supercalifragilisticexpialidocious area, its size is 3. After planting a new tree in (3,2), its size is 2.