Why is my algorithm failing at this number?

后端 未结 0 1526
情话喂你
情话喂你 2021-01-06 06:11

I am trying to write an algorithm to calculate the sum of prime numbers less than or equal to a given number argument. Here is my code:

function sumPrimes(num         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题