https://ide.codingblocks.com/s/41000
https://hack.codingblocks.com/contests/c/512/1226
The sample cases run fine, but doesn’t pass all test cases on submission
says run error in 3/6 test cases, because i/p can be 10^9, but I can only take array of 10^6 or 10^8 size
tried with vector too, gives runtime error https://ide.codingblocks.com/s/41005