|
|
back to boardBad tests. Posted by yujj 12 May 2008 19:50 I've got AC with two variants of solution. Brute force and period. Period was {1,1,2,0}, but it is not correct! Re: Bad tests. Period is not {1,1,2,0},but a 20-number period instead... You can use an unsigned long long int type in C++ to check for n from 1 - 25 to get that period sorry for my poor English... |
|
|