GIGAZINEã«æ°å¦ã®ã¨ãã¹ãã¼ãã3ã¶æããã¦ä½æãããä¸çä¸é£ããæ°ç¬ããªããã®ããã£ãã®ã§ãå³å¸ã§Pythonã¯ã³ã©ã¤ãã¼(ä¸è¡ããã°ã©ã )ãä½ã£ãã1ç§ãããã解ãããåé¡ãä½ãã®ã¯å¤§å¤ã§ã解æããã°ã©ã ã§ä¸ç¬ã¨ã¯åãã python -c "import sys;L=[];S=lambda D:(0in D)and[L.append(D.index(0)),[(D.__setitem__(L[-1],i),S(D),D.__setitem__(L.pop(),0))for i in set(range(1,10))-set(D[L[-1]/9*9:L[-1]/9*9+9]+D[L[-1]%9:81:9]+[d for n in(0,1,2)for d in D[L[-1]/27*27+L[-1]%9/3*3+n*9:L[-1]/27*27+L[-1]%9/3*3+n*9+3]]
{{#tags}}- {{label}}
{{/tags}}