UVA10693 Traffic Volume

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=18&page=show_problem&problem=1634 [PDF](https://uva.onlinejudge.org/external/106/p10693.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10693/2f1f57d8e183dbef610f8a5e0c8796bb693f95ca.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10693/3336afa07420323f509e52843a068930c6ada7aa.png)

Output Format

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