Fixed some typos

This commit is contained in:
vpfautz
2017-02-26 19:15:33 +01:00
parent aa148eb2b7
commit a2451c7403
10 changed files with 11 additions and 11 deletions

View File

@@ -55,7 +55,7 @@ bool IsPrime(int n) {
// Try to divide n by every odd number i, starting from 3
for (int i = 3; ; i += 2) {
// We only have to try i up to the squre root of n
// We only have to try i up to the square root of n
if (i > n/i) break;
// Now, we have i <= n/i < n.