I\'m getting runtime error (NZEC) when running the following code over at SPOJ. I\'d be very thankful if any of you would kindly point out what\'s going on.
I got NZEC on a cpp program for the problem 'EKO'. I was making an array declaration right before the int main() statement. I shifted the declaration inside the main function and the solution got accepted.
I normally have the array declaration outside the main function but in this case the array was a big one (int array[100001]). So may be declare your arrays inside main.