#D2754. Shifting a Matrix
Shifting a Matrix
Shifting a Matrix
Example
Input
3 2 R1
Output
3 1 2 4 5 6 7 8 9
inputFormat
Input
3 2 R1
outputFormat
Output
3 1 2 4 5 6 7 8 9
样例
3 2
R1
3 1 2
4 5 6
7 8 9
</p>
Example
Input
3 2 R1
Output
3 1 2 4 5 6 7 8 9
Input
3 2 R1
Output
3 1 2 4 5 6 7 8 9
3 2
R1
3 1 2
4 5 6
7 8 9
</p>
By signing up a OpenJudge universal account, you can submit code and join discussions in all online judging services provided by us.