Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 KB | None | 0 0
  1. Input:
  2. ..............................................11111111111111....
  3. .............................................1..............1...
  4. ............................................1................1..
  5. ...........................................1..................1.
  6. ..........................................1.........H..........1
  7. .........................................1.....................1
  8. ........................................1......................1
  9. .......................................1.......................1
  10. .......................................1.......................1
  11. .......................................1.......................1
  12. .......................................1.......................1
  13. .......................................1.......................1
  14. 1111111111111111111111111111111111111111.......................1
  15. ...............................................................1
  16. ...............................................................1
  17. ...............................................................1
  18. ......B.......................................................1.
  19. .............................................................1..
  20. ............................................................1...
  21. ...........................................................1....
  22. ..........................................................1.....
  23. 1111111111111111111111111111111111111111.................1......
  24. ........................................1...............1.......
  25. .........................................1.............1........
  26. ..........................................1111111111111.........
  27. ................................................................
  28. ................................................................
  29. ................................................................
  30. ................................................................
  31. ................................................................
  32. ................................................................
  33. ................................................................
  34.  
  35. Output:
  36. 6 16 # Ball
  37. 52 4 # Hole
  38. # VERTICAL LINES
  39. 39 7 6
  40. 63 4 12
  41. END_OF_VECTOR
  42. # HORIZONTAL LINES
  43. 46 0 14
  44. 0 12 40
  45. 0 21 40
  46. 42 24 13
  47. END_OF_VECTOR
  48. # DIAGONAL UP
  49. 39 7 8
  50. 54 24 10
  51. END_OF_VECTOR
  52. # DIAGONAL DOWN
  53. 39 21 4
  54. 59 0 5
  55. END_OF_LEVEL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement