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

Автор krishna_7, история, 6 лет назад, По-английски

I am getting a compilation error while submitting horrible queries on SPOJ. When I run the code locally, there is no issue and I am getting correct output for the cases I've tried. Someone please take a look at my code and tell me why I am getting a compilation error. Here is my code,

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

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

Автор krishna_7, история, 6 лет назад, По-английски

So I have been trying a DFS problem. But it is giving me a runtime error on test 9. However, I am not able to understand why I am getting runtime error. It has been two hours now. Someone please help me.

Edit: This is my code.

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

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