-->
当前位置:首页 > 题库

To judge an odd integer $$N(>10)$$ is prime or not, we need to c

Luz5年前 (2021-05-10)题库1564
To judge an odd integer $$N(>10)$$ is prime or not, we need to check if it is divisible by any odd number from 3 to $$\sqrt N $$. The time complexity of this algorithm is $$O(\sqrt N)$$. ~@[](2)

答案:TRUE