FreeCodeCampChina / freecodecamp.cn

FCC China open source codebase and curriculum. Learn to code and help nonprofits.

Home Page:https://fcc.asia/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sum All Primes

UxieVerity opened this issue · comments

问题描述

在Sum All Primes当中
结果比正确结果少1
如sumPrimes(10)应该为18,但是这里却是17.

截图> test

image
2 + 3 + 5 + 7 = 17