408393: GYM103110 I Grid Shuffling

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

I. Grid Shufflingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputExampleInput
4 8
0 0 1 0
0 3 0 2
7 0 0 6
0 4 5 0
Output
4 7 3 1
5 6 2 0
0 0 0 0
0 0 0 0

加入题单

上一题 下一题 算法标签: