Https://ide.codingblocks.com/#/s/17573

https://ide.codingblocks.com/#/s/17573
code is working absolutely fine but having issues with test cases…
Matrix SEARCH

Can you please share the link of question?
Are you getting TLE?
In your code you are using this :- if(arr[i][l]>=x) indicating that elements
are sorted in each row.If this is the case then you need to apply binary search.