UVA11238 Innoumerous bowling games

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=2179 [PDF](https://uva.onlinejudge.org/external/112/p11238.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11238/f03dcd1138685e772ecfb1c5005468280dc148b0.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11238/9a7da98433df5ff10922f304bc6ec5c04a5d8282.png)

Output Format

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