7Bpencil

FactorialVM

Dec 22nd, 2019
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. input -> 0
  2. set 1 -> 1
  3. set 1 -> 2
  4. set 1 -> 3
  5. {
  6. * 1 2 -> 1
  7. equal 0 2 -> 4
  8. if 4
  9. [
  10. break
  11. ]
  12. + 2 3 -> 2
  13. continue
  14. }
  15. print 1
Advertisement
Add Comment
Please, Sign In to add comment