https://ide.codingblocks.com/s/53188
sir, the code is running fine for 1 test case, but is showing run-time error for 2nd test case. wht is the error?
https://ide.codingblocks.com/s/53188
sir, the code is running fine for 1 test case, but is showing run-time error for 2nd test case. wht is the error?
Run time error is due to less memory allocation, increase the array size to 100005.
hit like if you get it!
Cheers