|
|
back to boardCan you tell me how to solve it fast?My search pro is slow,and... Although it got AC, but I doubt whether it will give an correct answer on all test... :( My algo is simply find a large num,assume it is on the cycle,and to find the periods... I think it exist a maths way......or at least, have a good search method use something like hash and so on... |
|
|