Square
题目描述
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=27&page=show_problem&problem=2537
[PDF](https://uva.onlinejudge.org/external/115/p11542.pdf)
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11542/b3eaae84b07ea715e86acc065fb416990155ad8b.png)
输入输出格式
输入格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11542/ad97b948118923fb3905f90968cb74904f7d802b.png)
输出格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11542/ff35a419bb2b232ef2e22f551b13c8fb5d34ffc1.png)
输入输出样例
输入样例 #1
4
3
2 3 5
3
6 10 15
4
4 6 10 15
3
2 2 2
输出样例 #1
0
1
3
3