{"categories":["ICPC","Lisp"],"author_name":"Pocket7878_dev","image_url":null,"published":"2012-07-06 22:34:37","width":"100%","blog_title":"Let's write \u03b2","title":"ICPC2004 Problem A","type":"rich","url":"https://tech-blog.pocket7878.com/entry/20120706/1341581677","version":"1.0","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech-blog.pocket7878.com%2Fentry%2F20120706%2F1341581677\" title=\"ICPC2004 Problem A - Let&#39;s write \u03b2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","description":"Hanafuda Shuffle \u3082\u3061\u308d\u3093Lisp\u3067 (defun create-deck (num) (loop for card from num downto 1 collect card)) (defun cut (cards p c) (let ((head (loop for idx from 1 upto (1- p) collect (nth (1- idx) cards))) (selected (loop for idx from p upto (1- (+ p c)) collect (nth (1- idx) cards))) (tail (loop for idx f\u2026","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/Pocket7878_dev/","blog_url":"https://tech-blog.pocket7878.com/"}