andrejpodzimek

https://stackoverflow.com/questions/69534589/counting-the-number-of-ways-to-make-up-a-string/6953654

Oct 12th, 2021 (edited)
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. ============
  2. 2 substrings
  3.  
  4. Original: p p k p k e
  5. Decompositions (4): (p p k) (e)
  6. (p p) (k e)
  7. (p) (p k e)
  8. (p) (p k e)
  9.  
  10. ============
  11. 3 substrings
  12.  
  13. Original: p p k p k e
  14. Decompositions (8): (p p) (k) (e)
  15. (p) (p k) (e)
  16. (p p) (k) (e)
  17. (p) (p) (k e)
  18. (p) (p k) (e)
  19. (p) (p) (k e)
  20. (p) (p k) (e)
  21. (p) (p) (k e)
  22.  
  23. ============
  24. 4 substrings
  25.  
  26. Original: p p k p k e
  27. Decompositions (4): (p) (p) (k) (e)
  28. (p) (p) (k) (e)
  29. (p) (p) (k) (e)
  30. (p) (p) (k) (e)
Add Comment
Please, Sign In to add comment