Rohi21Coder's blog

By Rohi21Coder, history, 5 years ago, In English

https://codeforces.me/contest/158/submission/81641505

Why is my code failing??

Pls help!!

I have initialized everything. Don't get confused in(x) is declaration that it is an int.

Thanks in advance.

  • Vote: I like it
  • -3
  • Vote: I do not like it

»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

The judge gave you a hint that says "uninitialized value usage".

»
5 years ago, # |
  Vote: I like it +7 Vote: I do not like it

You are getting $$$k$$$ before $$$n$$$ in the first line of the input.