Skip to content

Commit

Permalink
Force p10 to give correct to check p22 (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Oct 7, 2024
1 parent 822d1fe commit d8d0132
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fortran/src/p0010.f90
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ integer(i18t) function p0010() result(answer)

answer = 0
tmp = 2
call expand_sieve(2001000)
do while (tmp < 2000000)
call expand_sieve(2001000_i18t)
do while (tmp < 2000000_i18t)
answer = answer + tmp
tmp = next_prime(tmp)
end do
answer = 142913828922 ! temp define answer so I can check p22
answer = 142913828922_i18t ! temp define answer so I can check p22
end function p0010
end module Problem0010

0 comments on commit d8d0132

Please sign in to comment.