Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Test cases 1, 2, 3:
- - Matrix 1: [[1,2,3,4,5,6],[7,8,9,0,1,2],[3,4,5,6,7,8],[9,8,7,6,5,4],[3,2,1,0,9,8],[1,1,1,1,1,1]]
- - Matrix 2: [[3,2,9,8,7,8],[1,1,1,1,5,4],[3,4,5,6,1,0],[9,0,7,6,1,1],[5,6,1,2,3,4],[1,2,7,8,9,8]]
- Test case 4, 5:
- - Matrix 1 (same for Matrix 2 of test cases 4): [[1,2,3,4],[2,3,4,5],[3,4,5,6],[4,5,6,7]]
- - Matrix 2 (test case 5): [[3,4,3,4],[4,5,4,5],[1,2,5,6],[2,3,6,6]]
- Test case 6:
- - Matrix 1: [[1,2],[3,4]]
- - Matrix 2: [[2,3],[1,1]]
- Test case 7:
- - Matrix 1: [[0]]
- - Matrix 2: [[8]]
- Test case 8:
- - Matrix 1: [[1,2,3,4],[5,6,7,8],[9,0,0,9],[4,3,2,1]]
- - Matrix 2: [[1,2,1,2],[5,6,5,6],[0,9,9,0],[2,1,4,3]]
- Test case 9:
- - Matrix 1: [[1,2,1,2],[3,4,3,4],[8,3,9,5],[6,1,7,7]]
- - Matrix 2: [[9,5,1,2],[7,7,3,4],[1,2,8,3],[3,4,6,1]]
- Test case 10:
- - Matrix 1: [[1,0,2,0,0,3],[1,1,1,1,1,1],[2,2,2,2,2,2],[3,3,3,3,3],[4,4,4,4,4,4],[5,5,5,5,5,5]]
- - Matrix 2: [[1,1,1,0,0,3],[2,0,1,1,1,1],[2,2,2,2,2,2],[3,3,3,3,3],[4,4,4,4,4,4],[5,5,5,5,5,5]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement