Skip to content

Commit

Permalink
Solve p17 in fortran (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Oct 2, 2024
1 parent c9b0770 commit 58b1479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fortran/src/p0017.f90
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module Problem0017
implicit none
contains
integer recursive function to_string_len(n) result(answer)
integer, intent(in) :: n, tmp
integer, intent(in) :: n
if (n >= 1000) then
answer = to_string_len(n / 1000 % 100) + 8
if (n % 1000 /= 0) then
Expand Down

0 comments on commit 58b1479

Please sign in to comment.