Check that every row of a 0/1 matrix is sorted, then find the leftmost column that contains a 1. Too many requests from your network. Please wait a minute.