krishna_7's blog

By krishna_7, history, 6 years ago, In English

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,

Full text and comments »

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

By krishna_7, history, 6 years ago, In English

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.

Full text and comments »

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