LaughIsLife's blog

By LaughIsLife, history, 23 months ago, In English

I have tried brute force, but later for understanding the large input file, I realize my implementation won't work.

Would you please help me get the idea for solving this problem? Problem Link: https://www.spoj.com/problems/ZOOTICKET/

Full text and comments »

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

By LaughIsLife, 9 years ago, In English

I am trying to solve this problem but getting Wrong Answer again and again. I can't find my mistakes. Please help me to find out my mistakes or give me some test cases in which my code can't pass. Here is my code: http://codepad.org/c3DScA3P

Thanks in Advance!

Full text and comments »

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