UVA183 Bit Maps

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=3&page=show_problem&problem=119 [PDF](https://uva.onlinejudge.org/external/1/p183.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA183/d203c719ed2a267baf45cfa13c6b356e614779f4.png)

Input Format

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

Output Format

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