UVA10846 Reading time from a clock

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=20&page=show_problem&problem=1787 [PDF](https://uva.onlinejudge.org/external/108/p10846.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10846/9177654c1c7259b430f1b23050c4bdb58f2284cc.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10846/12480a93c6b0ab42bec250d50ceff3da8953d9e6.png)

Output Format

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