首页 > TAG信息列表 > colorB
NC16638 carper kmp+滑动窗口 求二维矩阵的最小循环,并且令该循环区间的最大值最小
链接:https://ac.nowcoder.com/acm/problem/16638来源:牛客网 题目描述 White Cloud has a rectangle carpet of n∗mn*mn∗m. Grid(i,j)Grid (i,j)Grid(i,j) has a color colorA[i][j]colorA[i][j]colorA[i][j] and a cost costA[i][j]costA[i][j]costA[