Stl problem help please::

can any one help me with this problem it give me wrong answer
this is problem Problem - M - Codeforces
and this is my code FyQPjH - Online C++0x Compiler & Debugging Tool - Ideone.com

Try this question Online Judge , maybe then you are able to solve your question.

1 Like