(String scramble, int side)
| 480 | } |
| 481 | |
| 482 | public static String solveEofc(String scramble, int side) { |
| 483 | init(); |
| 484 | StringBuilder sb = new StringBuilder("\n"); |
| 485 | for (int i = 0; i < 6; i++) { |
| 486 | if (((side >> i) & 1) != 0) |
| 487 | sb.append(eofc(scramble, i * 2)).append(eofc(scramble, i * 2 + 1)); |
| 488 | } |
| 489 | return sb.toString(); |
| 490 | } |
| 491 | |
| 492 | public static String eofc(String scramble, int side) { |
| 493 | String[] s = scramble.split(" "); |
no test coverage detected