YAPC::EU 2018 Glasgow Update!
This commit is contained in:
parent
22f33d4004
commit
4e2d22a71d
1170 changed files with 15042 additions and 3047 deletions
4
Task/Josephus-problem/Emacs-Lisp/josephus-problem.l
Normal file
4
Task/Josephus-problem/Emacs-Lisp/josephus-problem.l
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
(defun jo(n k)
|
||||
(if (= 1 n) 1 (1+ (% (+ (1- k)
|
||||
(jo (1- n) k)) n ) ) ))
|
||||
(princ-list (jo 50 2) "\n" (jo 60 3))
|
||||
Loading…
Add table
Add a link
Reference in a new issue