Runtime Error in MULTHREE

https://www.codechef.com/viewsolution/33518631
can somebody please have a look at this and tell me what’s wrong with this code?

  ll d[k];

The Codechef servers don’t have 10^{12} bytes of stack space (or heap, for that matter) :slight_smile:

2 Likes

thanks @ssjgz i am a beginner

1 Like