UVA12027 Very Big Perfect Squares

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=242&page=show_problem&problem=3178 [PDF](https://uva.onlinejudge.org/external/120/p12027.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12027/d35ad47f48c524f426f93d216f70183b75cbba0b.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12027/d22f1c2984bf176671e5436c4f3c8595544e6194.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12027/9bdc5469ff492e23a604d11fd1b3ff61467e7524.png)