|
|
back to boardAC with 0.001 sec Posted by Lega 16 May 2005 01:09 init array and simple loop ! [code deleted] Edited by moderator 13.02.2007 20:47 Re: AC with 0.001 sec I think it would be even better if you go through 2*i + 1 and not all the numbers when checking for the maximum.... logic: (all 2*i < 2*i + 1) and (all 2*i <= 2*i - 1 [i>0]) |
|
|