Skip to content

Commit

Permalink
Solve p8 (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Sep 24, 2024
1 parent 2d550f8 commit b21025c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fortran/src/p0008.f90
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ integer(kind=8) function p0008() result(answer)
"05886116467109405077541002256983155200055935729725" // &
"71636269561882670428252483600823257530420752963450")
do i = 1, 1000
digits(i) = integer(ichar(plain_digits(i:i)) - ichar('0'), kind=1)
digits(i) = int(ichar(plain_digits(i:i)) - ichar('0'), kind=1)
end do
do i = 1, (1000 - 12)
tmp = digits(i)
Expand Down

0 comments on commit b21025c

Please sign in to comment.