UVA334 Identifying Concurrent Events

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=5&page=show_problem&problem=270 [PDF](https://uva.onlinejudge.org/external/3/p334.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA334/d3a2a163b237d8f161fb0222bd5d2789025c9003.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA334/3734d200897b54463485573c360b3c7134b30834.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA334/0c728b3d45cf21287f65b755ff5b67d57755aa2f.png)