|
|
back to boardDoes this need fast factorization (faster than O(sqrt(N)) ) ? Re: Does this need fast factorization (faster than O(sqrt(N)) ) ? Posted by melkiy 28 Apr 2009 16:28 No. If you TLE read forum for task 1073. Re: Does this need fast factorization (faster than O(sqrt(N)) ) ? Roma, O(sqrt(n)) is good time to find a, b : a^2 + b^2 = n My O(sqrt(n)) solution gets AC in 0.25 sec. ------------------- Sergey Kopeliovich Re: Does this need fast factorization (faster than O(sqrt(N)) ) ? [code deleted] ------------------- Вот это получает Roman Atangulov 1593 C++ Time limit exceeded 13 1.046 137 KB Edited by author 28.04.2009 21:22 Edited by author 29.04.2009 14:21 Re: Does this need fast factorization (faster than O(sqrt(N)) ) ? Is answered in vkontakte. Re: Does this need fast factorization (faster than O(sqrt(N)) ) ? I know O(N^0.5) algo, but I use array[N] :( Please tell me some ideas, how to solve this task without array? Thanks |
|
|