I posted my doubt here since I didn’t knew how to post it here as it is.Do check it out
Link for my doubt
But Sir on providing ub there it’s not giving the desired output{none of the testcases are passing here} and if i pass (ub-1) there so only two testcases are getting passed.so what to do next?
check maximum value of n and declare ur array size accordingly
The output is still the same
Hello Sir I am unable to share my code with the ide
Thanks Sir that code worked out well.Can you please share the way of sharing code using the ide.I attach the link but that’s taking to a new ide window for it without the code.
click on https://ide.codingblocks.com/
then paste ur code here.
click on file option present in header, there u will get save option ,click on it.
a link will be generated ,share that link.
Thanks Sir for the help.Will keep that in mind from now on.