(String[] sequence)
| 73 | } |
| 74 | |
| 75 | public static int applySequence(String[] sequence) { |
| 76 | int state = solved; |
| 77 | for (String move : sequence) { |
| 78 | state = applyMove(state, move); |
| 79 | } |
| 80 | return state; |
| 81 | } |
| 82 | |
| 83 | private static boolean ini = false; |
| 84 | static void init() { |