|
|
back to boardbetter logic u can make use of the fact that there are only 30 different dice possible watever input is given would always equal to one of the 30 unique orientations on rotating( 10 possible rotations )... my soln O(n) got ac in 0.015 sec !!! Edited by author 23.12.2007 23:16 |
|
|