UVA10563 Least Squares

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=17&page=show_problem&problem=1504 [PDF](https://uva.onlinejudge.org/external/105/p10563.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10563/331b8667baa6dcd9be6f24a9296bc748a6d33964.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10563/9712702a18bd9d6db6ceac08af689e83d1ef2718.png)

Output Format

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