Pankaj_Panwadi's blog

By Pankaj_Panwadi, history, 3 years ago, In English

I am getting WA for Test Set 2.

I looked at other people's solutions and also generated some random cases on both the correct and my solution, but both are giving the same answer.

Can anyone tell where I am getting it wrong?

My code

Full text and comments »

  • Vote: I like it
  • +8
  • Vote: I do not like it

By Pankaj_Panwadi, history, 4 years ago, In English
  • Vote: I like it
  • +1
  • Vote: I do not like it