I am trying to solve [this][1] problem on UVA. My
[2] is continously showing wrong answer any one help me ?
[1]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=9&page=show_problem&problem=737
[2]: https://ideone.com/Fpn6pd