Created
July 25, 2018 11:51
-
-
Save TonyMooori/597c6e374153b828816a7e812464db64 to your computer and use it in GitHub Desktop.
アルゴリズムパズル6実装例
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 6. 指数え | |
(defparameter *fingers* | |
(list | |
"index finger" "thumb" "index finger" "middle finger" | |
"ring finger" "little finger" "ring finger" "middle finger")) | |
(defun solve-6 (n) | |
(nth (mod n 8) *fingers*)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment