UVA11398 The Base-1 Number System

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=25&page=show_problem&problem=2393 [PDF](https://uva.onlinejudge.org/external/113/p11398.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11398/12f83ebb0aae966530384cb486c1bfcceea862e2.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11398/120243f73b2e062893efcbd57c27062414a7d15f.png)

Output Format

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