Блог пользователя LaughIsLife

Автор LaughIsLife, история, 2 года назад, По-английски

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/

Полный текст и комментарии »

  • Проголосовать: нравится
  • +1
  • Проголосовать: не нравится

Автор LaughIsLife, 9 лет назад, По-английски

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!

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится