Given an N x M matrix having only positive integer values, we have to nullify the matrix
i.e make all entries 0.
We are given two operations
1) multiply each element of any one column at a time by 2.
2) Subtract 1 from all elements of any one row at a time
Find the minimum number of operations required to nullify the matrix.
的二維矩陣我認爲這樣做與LCM東西,但未能達成一個解決方案抵消一些操作集
非常有趣的一組操作,這是你的;我期待一些額外的逐列乘法。祝你好運,兄弟'! (: – Rubens
您對代數構造組和現場的概念有多熟悉? –