Help needed for last div2.B problem
I have problem with the last contest's problem B:
you can visit my code with sample case here
i don't understand why my code is not working even for the sample cases
can someone help me on this stuff, i would be really happy, thanks in advance