Can someone solve this ?

Hi guys this question looks to me as a simple one but I am get WA on this and on seeing it’s submissions I found no AC so just to confirm that the test cases are correct I want someone to solve this :stuck_out_tongue: .

It would be a great help. Thanks in advance:)

The same question is available in code-forces which was asked in recent contest. You can check your solution there. The link to the problem is
link text

Hope it helps:)

1 Like

@admin @vijju123

look into this problem ,even though the solution is correct it is showing this weird error. Please look into this :slight_smile:

alt text

thanks @nikesh48 it worked there :slight_smile: