Advertisement
Guest User

Untitled

a guest
Jul 26th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. Input:
  2. ++^>
  3. +v++
  4.  
  5. Output for n=1
  6. +++>
  7. <++v
  8.  
  9. Output for n=2
  10. ^+++
  11. ++<v
  12.  
  13. Output for n=3
  14. +>^+
  15. ++<+
  16.  
  17. Output for n=4 (same as the input)
  18. ++^>
  19. +v++
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement