UVA236 VTAS - Vessel Traffic Advisory Service

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=4&page=show_problem&problem=172 [PDF](https://uva.onlinejudge.org/external/2/p236.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA236/f5340f4e1ae2751a0e77f61738de3b8a432f1fc7.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA236/599e39decd5505a6e1064edab41991ebfafc31bb.png)

Output Format

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