Advertisement
Guest User

matrices

a guest
Jan 14th, 2019
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. Test cases 1, 2, 3:
  2. - 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]]
  3. - 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]]
  4.  
  5. Test case 4, 5:
  6. - 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]]
  7. - Matrix 2 (test case 5): [[3,4,3,4],[4,5,4,5],[1,2,5,6],[2,3,6,6]]
  8.  
  9. Test case 6:
  10. - Matrix 1: [[1,2],[3,4]]
  11. - Matrix 2: [[2,3],[1,1]]
  12.  
  13. Test case 7:
  14. - Matrix 1: [[0]]
  15. - Matrix 2: [[8]]
  16.  
  17. Test case 8:
  18. - Matrix 1: [[1,2,3,4],[5,6,7,8],[9,0,0,9],[4,3,2,1]]
  19. - Matrix 2: [[1,2,1,2],[5,6,5,6],[0,9,9,0],[2,1,4,3]]
  20.  
  21. Test case 9:
  22. - Matrix 1: [[1,2,1,2],[3,4,3,4],[8,3,9,5],[6,1,7,7]]
  23. - Matrix 2: [[9,5,1,2],[7,7,3,4],[1,2,8,3],[3,4,6,1]]
  24.  
  25. Test case 10:
  26. - 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]]
  27. - 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