Today HH is palying with a n×n matrix. All the numbers of the matrix is 0 initial, and every time HH will do one of the following things: 1.make all the numbers in the k row become v 2.make all the numbers in the k column become v Now HH wants to know what's the final matrix after q options.
Today HH is palying with a n×n matrix. All the numbers of the matrix is 0 initial, and every time HH will do one of the following things: 1.make all the numbers in the k row become v 2.make all the numbers in the k column become v Now HH wants to know what's the final matrix after q options.
(图片来源网络,侵删)
标签: HBC13883Matrix题解