|
|
back to boardDiscussion of Problem 1113. JeepShortest AC program: if(m<=2)f=n;else for(f=m;n-->m;f+=(f-m)/(m-2)*2+3); Can anybody do better? now it cannot got AC? Posted by hawking 26 Sep 2002 10:59 > Re: Shortest AC program: if(m<=2)f=n;else for(f=m;n-->m;f+=(f-m)/(m-2)*2+3); Can anybody do better? Posted by PSV 5 Nov 2006 21:39 Man you have compilation error :) Re: Shortest AC program: if(m<=2)f=n;else for(f=m;n-->m;f+=(f-m)/(m-2)*2+3); Can anybody do better? Can anybody tell how to deduce this solution? No subject It is a wrong solution |
|
|