search

Home  >  Q&A  >  body text

c++ - 怎样将一个矩阵分成均等的四份?求教算法思路。

如题。
会有奇数行奇数列的情况,想请教下算法思路。

怪我咯怪我咯2804 days ago592

reply all(2)I'll reply

  • 大家讲道理

    大家讲道理2017-04-17 15:39:08

    How is it considered equal? If the total number of matrix elements is not divisible by 4, then they cannot be equal, so this question is unreasonable

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 15:39:08

    Is there any mistake? Are you sure that a matrix with odd rows and columns can be divided equally? ?

    reply
    0
  • Cancelreply