Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //start from 2: a=2
- key:
- elem pos/front string / + / end string
- front string = get(i)
- end string = 1-6
- iterator: x += perms.size();
- starts at 0
- int size = perms.size()-1; = 5
- for (int x = 0; x < size; x++){
- for (int y =
- "": 1 / 0 + 0
- a : 2 / 1 + 2
- b : 3 / 1 + 3
- c : 4 / 1 + 4
- d : 5 / 1 + 5
- e : 6 / 1 + 6
- level 1==
- int iter = 0;
- int res = 0;
- int size = 5;
- for (int x = 0; x<size; x++){
- iter = iter*x;
- for int (y = 0; y < (size - iter); y++){
- res = (y+iter);
- }
- }
- ab : 7 / 2 + 3 | 1 + 5(0) / 3
- ac : 8 / 2 + 4 | 1 + 5(0) / 4
- ad : 9 / 2 + 5 | 1 + 5(0) / 5
- ae : 10 / 2 + 6 | 1 + 5(0) / 6
- =====
- bc : 11 / 3 + 4 | 2 + 5(0) / 4
- bd : 12 / 3 + 5 | 2 + 5(0) / 5
- be : 13 / 3 + 6 | 2 + 5(0) / 6
- ====
- cd : 14 / 4 + 5 | 3 + 5(0) / 5
- ce : 15 / 4 + 6 | 3 + 5(0) / 6
- ====
- de : 16 / 5 + 6 | 4 + 5(0) / 6
- ========= (10)
- abc : 17 / 7 + 4 | 6 = 1 + 5(1) / 4
- abd : 18 / 7 + 5 | 6 = 1 + 5(1) / 5
- abe : 19 / 7 + 6 | 6 = 1 + 5(1) / 6
- ====
- acd : 20 / 8 + 5 | 7 = 2 + 5(1) / 5
- ace : 21 / 8 + 6 | 7 = 2 + 5(1) / 6
- ====
- ade : 22 / 9 + 6 | 8 = 3 + 5(1) / 6
- ========= (6)
- bcd : 23 / 11 + 5 | 10 = 5 + 5(1) / 5
- bce : 24 / 11 + 6 | 10 = 0 + 5(2) / 6
- ====
- bde : 25 / 12 + 6 | 11 = 1 + 5(2) / 6
- ====
- cde : 26 / 14 + 6 | 13 = 3 + 5(2) / 6
- ========= (4)
- abcd :27 / 17 + 5 | 16 = 1 + 5(3) / 5
- abce :28 / 17 + 6 | 16 = 1 + 5(3) / 6
- ====
- abde : 30 / 18 + 6 | 17 = 2 + 5(3) / 6
- =====
- acde : 29 / 20 + 6 | 19 = 4 + 5(3) / 6
- ========= (4)
- bcde : 31 / 23 + 6 | 22 = 2 + 5(4) / 6
- ========= (1)
- abcde : 32 / 27 + 6 | 26 = 1 + 5(5) / 6
- ========= (1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement