Method
circle
(int[] ary, int a, int b, int c, int d, int ori)
Source from the content-addressed store, hash-verified
| 39 | //private static String[] turn = { "UDLRFB", "DURLFB", "RLUDFB", "LRDUFB", "BFLRUD", "FBLRDU" }; |
| 40 | |
| 41 | public static void circle(int[] ary, int a, int b, int c, int d, int ori) { |
| 42 | int t = ary[a]; |
| 43 | ary[a] = ary[d] ^ ori; |
| 44 | ary[d] = ary[c] ^ ori; |
| 45 | ary[c] = ary[b] ^ ori; |
| 46 | ary[b] = t ^ ori; |
| 47 | } |
| 48 | |
| 49 | private static void idxToComb(int[] arr, int[] s, int c, int o) { |
| 50 | int q = 4; |
Tested by
no test coverage detected