()
| 302 | } |
| 303 | |
| 304 | void std() { |
| 305 | if (temp == null) { |
| 306 | temp = new int[12]; |
| 307 | } |
| 308 | for (int i=0; i<12; i++) { |
| 309 | temp[edgeo[i]] = i; |
| 310 | } |
| 311 | |
| 312 | for (int i=0; i<12; i++) { |
| 313 | edge[i] = temp[edge[i]]; |
| 314 | edgeo[i] = i; |
| 315 | } |
| 316 | isStd = true; |
| 317 | } |
| 318 | |
| 319 | int get(int end) { |
| 320 | if (!isStd) { |