Advertisement
Guest User

Untitled

a guest
Sep 25th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1.  
  2.  
  3. Input
  4. 5
  5. 1 3 5
  6. 1 2 3 4 5
  7. 1 3 4 5
  8. 1
  9. 1 2 3 4
  10. 1 2 3 4 5
  11. 1 2 3 4 5
  12. 1 2 3 4 5
  13. 1 2 3 4 5
  14. 1 2 3 4 5
  15.  
  16. Expected Output
  17. The total number of cells is: 42
  18.  
  19. Input
  20. 2
  21. 1 3 5
  22. 1 2 3 4 5
  23. 5 3 1
  24. 5
  25.  
  26. Expected output
  27. [1, 3, 5, 1, 3, 5]
  28.  
  29. Input (targetPractice)
  30. 12 12
  31. qwertyuiop[]asdfghjkl;'zxcvbnm,./
  32. 0 0 4
  33.  
  34. Expected output
  35. yuiop[]
  36.  
  37. Input
  38. 10 10
  39. <^>v
  40. 9 9 1
  41.  
  42. Expected output
  43. >v<^>v<^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement