UVA10317 Equating Equations

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=15&page=show_problem&problem=1258 [PDF](https://uva.onlinejudge.org/external/103/p10317.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10317/8c0d206123fbe64a6ca0ed54efe55ea5399eeb40.png)

Input Format

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

Output Format

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