runguard: warning: timelimit exceeded (wall time): aborting command
runguard: warning: command terminated with signal 15
i recieve this error in matrix search program.
Matrix search problem in 2d array
@shrutikatyal your input is not correct, in the code you are taking “search” element first, but in the input you are providing it later
this will result in your matrix not maintaining the sorted property
@shrutikatyal your traversal is also not correct, you are changing values through for loop as well as using conditions, this will not work fine
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.