作业帮 > 综合 > 作业

英语翻译In a large matrix,there are some elements has been marke

来源:学生作业帮 编辑:搜搜考试网作业帮 分类:综合作业 时间:2024/06/16 09:17:58
英语翻译
In a large matrix,there are some elements has been marked.For every marked element,return a marked element whose row and column are larger than the showed element’s row and column respectively.If there are multiple solutions,return the element whose row is the smallest; and if there are still multiple solutions,return the element whose column is the smallest.If there is no solution,return -1 -1.
英语翻译In a large matrix,there are some elements has been marke
在一个大型的矩阵,矩阵中的一些值已被标记.如果某个值已经被标记,就返回这个值,以及它的行和列.如果有多个值被标记,返回其中行数最小的值,如果行数最小的值仍然有多个,就返回其中列数最小的值.如果没有被标记的值,返回-1 -1.