UVA10020 Minimal coverage

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=12&page=show_problem&problem=961 [PDF](https://uva.onlinejudge.org/external/100/p10020.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10020/798eccffc3db2f324d93a32a298c81a12e2d83bd.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10020/782e0a74ef12130d1c4495b641f389f145df7e7f.png)

Output Format

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