UVA11431 Partitioning a Number

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=26&page=show_problem&problem=2426 [PDF](https://uva.onlinejudge.org/external/114/p11431.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11431/21df0f2138fa2c82d4fed1cef0fab03119a4c222.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11431/9897e67b320aa1e7f3fcf9c462737ca5e0af5b52.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11431/866e8c442ea62ff1f0bba8952e42389353920712.png)