Google Code Jam ã¤ãã£ãè¦ã¦ããLISPã§åå ãã¦ã人ãã¡ãã»ãè¦ããã®ã§èªåããã£ã¦ã¿ããååå ã çµæã¯A,B,Cããããsmall, large両æ¹æ£è§£ã§70ç¹ãDã¯smallã§å¼¾ããã¦0ç¹ã Problem A. Bot Trust èªåã®ã¿ã¼ã³ã§ãªãæã«ã¯è¡åãã¤ã³ãã貯ããèªåã®ã¿ã¼ã³ãæ¥ãããã¤ã³ããæ¶è²»ãã¦ç¬é移å & 足ããªããã°1æ©ãã¤ç§»åãã¨ããã«ã¼ã«ã«è³å
å¤æãã¦è§£ããã (defmacro do-problems (&body body) `(loop for #0=#:i from 1 to (read) do (format t "~&Case #~D: " #0#) (progn ,@body))) (defmacro n-of (n form) `(loop repeat ,n collect ,form)) (do-problems (l
{{#tags}}- {{label}}
{{/tags}}