Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1.  
  2. //start from 2: a=2
  3. key:
  4. elem pos/front string / + / end string
  5. front string = get(i)
  6. end string = 1-6
  7. iterator: x += perms.size();
  8. starts at 0
  9.  
  10. int size = perms.size()-1; = 5
  11. for (int x = 0; x < size; x++){
  12. for (int y =
  13.  
  14.  
  15.  
  16. "": 1 / 0 + 0
  17. a : 2 / 1 + 2
  18. b : 3 / 1 + 3
  19. c : 4 / 1 + 4
  20. d : 5 / 1 + 5
  21. e : 6 / 1 + 6
  22.  
  23. level 1==
  24.  
  25. int iter = 0;
  26. int res = 0;
  27. int size = 5;
  28. for (int x = 0; x<size; x++){
  29. iter = iter*x;
  30. for int (y = 0; y < (size - iter); y++){
  31. res = (y+iter);
  32. }
  33. }
  34.  
  35.  
  36.  
  37. ab : 7 / 2 + 3 | 1 + 5(0) / 3
  38. ac : 8 / 2 + 4 | 1 + 5(0) / 4
  39. ad : 9 / 2 + 5 | 1 + 5(0) / 5
  40. ae : 10 / 2 + 6 | 1 + 5(0) / 6
  41. =====
  42. bc : 11 / 3 + 4 | 2 + 5(0) / 4
  43. bd : 12 / 3 + 5 | 2 + 5(0) / 5
  44. be : 13 / 3 + 6 | 2 + 5(0) / 6
  45. ====
  46. cd : 14 / 4 + 5 | 3 + 5(0) / 5
  47. ce : 15 / 4 + 6 | 3 + 5(0) / 6
  48. ====
  49. de : 16 / 5 + 6 | 4 + 5(0) / 6
  50. ========= (10)
  51. abc : 17 / 7 + 4 | 6 = 1 + 5(1) / 4
  52. abd : 18 / 7 + 5 | 6 = 1 + 5(1) / 5
  53. abe : 19 / 7 + 6 | 6 = 1 + 5(1) / 6
  54. ====
  55. acd : 20 / 8 + 5 | 7 = 2 + 5(1) / 5
  56. ace : 21 / 8 + 6 | 7 = 2 + 5(1) / 6
  57. ====
  58. ade : 22 / 9 + 6 | 8 = 3 + 5(1) / 6
  59. ========= (6)
  60. bcd : 23 / 11 + 5 | 10 = 5 + 5(1) / 5
  61. bce : 24 / 11 + 6 | 10 = 0 + 5(2) / 6
  62. ====
  63. bde : 25 / 12 + 6 | 11 = 1 + 5(2) / 6
  64. ====
  65. cde : 26 / 14 + 6 | 13 = 3 + 5(2) / 6
  66. ========= (4)
  67. abcd :27 / 17 + 5 | 16 = 1 + 5(3) / 5
  68. abce :28 / 17 + 6 | 16 = 1 + 5(3) / 6
  69. ====
  70. abde : 30 / 18 + 6 | 17 = 2 + 5(3) / 6
  71. =====
  72. acde : 29 / 20 + 6 | 19 = 4 + 5(3) / 6
  73. ========= (4)
  74. bcde : 31 / 23 + 6 | 22 = 2 + 5(4) / 6
  75. ========= (1)
  76. abcde : 32 / 27 + 6 | 26 = 1 + 5(5) / 6
  77. ========= (1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement