_aman_'s blog

By _aman_, history, 8 years ago, In English

Hi,

I am trying to solve this problem : http://codeforces.com/contest/664/problem/B

Here is my code : http://ideone.com/fWgQEn

I am getting Runtime Error on Test Case 5, even though my answer is correct and I am printing it properly.

Can anyone tell me what could be the reason of this?

TIA!

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
8 years ago, # |
  Vote: I like it +5 Vote: I do not like it