The last 3 or 4 programs that i tried submitting from the easy practice questions, run fine on mt machine (in Dev C++), but there is some or the other error when i try submitting it. It just doesn’t run.
Can someone tell why? I am submitting in 4.3.2 grade C++.
please give the link to any of your solutions
Maybe you are not sign in , while submitting the code
the runtime error is due to outofbound in array a in the first for loop. you have declared a whereas 1<=n<=100000.
hope this helps:)