学习向量 Learning Vector

题目描述

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=441&page=show_problem&problem=4034 [PDF](https://uva.onlinejudge.org/external/125/p12589.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12589/592cb3be0b70a300a9e187a139921ac9e8209f47.png)

输入输出格式

输入格式


![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12589/46199684f0850b6d8b29678bcfbb22b97a6cd7b6.png)

输出格式


![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12589/3c5f1540ab37aef086ae5c43ce26c4ed87f7bdd6.png)

输入输出样例

输入样例 #1

2
4 3
3 5
0 2
2 2
3 0
4 2
3 5
0 2
2 2
3 0

输出样例 #1

Case 1: 81
Case 2: 45