UVA690 流水线调度 Pipeline Scheduling

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=8&page=show_problem&problem=631 [PDF](https://uva.onlinejudge.org/external/6/p690.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA690/163b7ccd3d193a83d0c1f97ae29b2be7b657c64e.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA690/72a8d2645924a6092613ac9470f636a46caffcf3.png)

Output Format

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