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:
- make all the numbers in the k row become v
- make all the numbers in the k column become v
Now
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:
Now