Searching in matrix

https://ide.codingblocks.com/s/238051 sir 2 test case are not passing plz help me by telling error

hi @anuragavm123

you are printing
if (searchMatrix(matrix, k))

    cout << "Found" << endl; 

else

    cout << "Not found" << endl; 

which is wrong you have to print 0 or 1