BleedCode AUK Garage help in code debugging

Why is this code giving runtime error for the AUK Garage problem in yesterdays bleed code.
https://www.codechef.com/viewsolution/29870918.

Bump anyone??

You can’t declare an array of size 10^7, that’s why it’s giving you Runtime Error. Instead use vectors to do that and declare it as global.

Thanx for this post