UVA11899 Writing the Whole pi

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=226&page=show_problem&problem=3050 [PDF](https://uva.onlinejudge.org/external/118/p11899.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11899/e439c4e0a43e046f7409c5a092e788859f84c160.png)

Input Format

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

Output Format

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