Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. {
  2. again:
  3. if (next != current + 1) {
  4. try = pop();
  5.  
  6. if (try == current + 1) {
  7. current++;
  8. goto again;
  9. } else {
  10. push(try);
  11. push(next);
  12. }
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement