laziestcoder's blog

By laziestcoder, history, 8 years ago, In English

I have no idea what is the difference between this code and this code ?

Problem is here.

Thank in advance.

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

| Write comment?
»
8 years ago, # |
  Vote: I like it +3 Vote: I do not like it

when you globally declare an array like AC one it will return 0 by default but when done inside main it return any garbage value which is causing WA.