UVA297 四分树 Quadtrees

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=4&page=show_problem&problem=233 [PDF](https://uva.onlinejudge.org/external/2/p297.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA297/324edf02b1b5868df07750dd0f138cac8e318131.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA297/624383cace92231518eb3a3482ad1e85da77cf7f.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA297/75b84bc4b1498269cc75ecef8dab78d809905dc9.png)