UVA10087 The Tajmahal of ++Y2k

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=12&page=show_problem&problem=1028 [PDF](https://uva.onlinejudge.org/external/100/p10087.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10087/b2bb821a5064a855f240b549491ca0804af47809.png)

Input Format

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

Output Format

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