Skip to content

Commit

Permalink
Solve p4 in fortran (5)
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Oct 2, 2024
1 parent 8fe0bdd commit d9e2acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fortran/src/p0004.f90
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ integer function p0004() result(answer)
prod = i * j
is_palindrome = .true.
write(string, '(I0)') prod
length = len(string)
length = len_trim(string)

do k = 1, length
n = length - k + 1
Expand Down

0 comments on commit d9e2acb

Please sign in to comment.