You are given a 2D array A with n rows and m columns. There are q queries of either form:
Print array A after all q queries. It is guaranteed that all queries are valid.
Input:
2 2 2
1 2
3 4
1 1 2
2 1 2
Output:
4 3
2 1
Pascal's triangle | |
Column sum | |
Appearance | |
Diagonal sum | |
Point coverage | |
Swap operation | |
Spiral matrix | |
Word search | |
Matrix rotation | |
Matrix Zigzag |