Skip to content

Commit

Permalink
Solve p15 in fortran (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Oct 9, 2024
1 parent 0c5479a commit 8c636a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fortran/src/include/math.f90
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ pure integer(i18t) function n_choose_r(n, r) result(answer)
end if
end function

pure integer(i18t) function n_choose_r_slow(n, r) result(answer)
integer(i18t) function n_choose_r_slow(n, r) result(answer)
integer, intent(in) :: n, r
integer(i2t), allocatable :: factors(:)
integer(i18t) :: tmp
integer :: i, j
Expand Down

0 comments on commit 8c636a3

Please sign in to comment.