UVA10470 Shifted Coefficient Number System

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=16&page=show_problem&problem=1411 [PDF](https://uva.onlinejudge.org/external/104/p10470.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10470/19824e74252373885a89b49daf92ef5c9f2cc712.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10470/8779621bbb865d3320b00b071e52a557e505c86e.png)

Output Format

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