Hi.I have no idea for solving this problem.please help me. https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=642
Help in this problem
Hi.I have no idea for solving this problem.please help me. https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=642