Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2015
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. While(true) {
  2. Peru train driver put stone in basket
  3. While(Bolivia train driver has stone in basket)
  4. {
  5. If it is Bolivia trains turn to use the pass
  6. {
  7. Peru train takes stone out of basket
  8. While(it is Bolivia trains turn)
  9. Wait
  10. Peru Train driver puts stone in basket
  11. }
  12. }
  13. Turn = Bolivia Train Driver
  14. Peru train driver takes stone out of basket
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement