|
|
вернуться в форумwhy this code correct and more than, so fast? var i,k:longint; begin read(k); i:=k div 3; while(k mod i<>0) do i:=k div(k div i +1); write(k div i-1); end. Edited by author 19.05.2007 23:58 Re: why this code correct and more than, so fast? So fabulous. Re: why this code correct and more than, so fast? Excellent... After you found maximal divider of K you can found minimal devider of K.... Excellent solution... Re: why this code correct and more than, so fast? Послано Gora 27 апр 2011 02:00 Explain this solution, please. I'm a beginning programmer, so I can't understand. |
|
|