Advertisement
Guest User

step by step

a guest
Feb 19th, 2013
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Input: 4 1 1 2 2 5 8 6 3
  2.  
  3. 1 1 2 2 5 8 6 3
  4.  
  5. 0 0 1 1 4 7 5 2
  6.  
  7. 0 0 0.142857 0.142857 0.571429 1 0.714286 0.285714
  8.  
  9. 0 0 0.571429 0.571429 2.28571 4 2.85714 1.14286
  10.  
  11. 0 0 0 0 2 4 2 1
  12.  
  13. 4 1 2 0 1
  14.  
  15. 4 1 2 1
  16.  
  17. 1 0 0 0
  18. 1 0 0 0
  19. 1 0 1 0
  20. 1 1 1 1
  21.  
  22. Output:
  23.  
  24. *
  25. *
  26. * *
  27. ****
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement