UVA11920 0 s, 1 s and ? Marks

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=229&page=show_problem&problem=3071 [PDF](https://uva.onlinejudge.org/external/119/p11920.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11920/b4c56f4279237cbc61f9136c39b027e1cc7ca698.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11920/3a4ab4e65ccfe872f0db97feb6862d9ce76d0c67.png)

Output Format

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