Skip to content

Commit

Permalink
Fix compilation errors with p22 (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Oct 7, 2024
1 parent 8ee7d45 commit 6f35807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fortran/src/p0022.f90
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ integer(i18t) function p0022() result(answer)
do i = 1, name_count
score = 0
do j = 1, len(names(i))
score = score + ichar(names(i)(j)) - ichar('A') + 1
score = score + ichar(names(i)(j:j)) - ichar('A') + 1
end do
answer = answer + score * i
end do
Expand Down

0 comments on commit 6f35807

Please sign in to comment.