2011-01-01ãã1ã¶æéã®è¨äºä¸è¦§
以ä¸ã®è¨äºã§PythonãRubyã®æ«å°¾å帰é¢æ°ãã«ã¼ãã«å¤æããææ³ããæ«å°¾å帰æé©åãããæ«å°¾å¼ã³åºãæé©åãã¨ãã¦ç´¹ä»ããã¦ããã®ã§ããããããã®ç¨èªã使ãã®ã¯ééãã§ãã ç´¹ä»ããã¦ããææ³(åçæç¸ãå©ç¨ãã¦å¶å¾¡ããã¼ãå¤å½¢ããææ³)èªä½ã¯å¤§â¦
ä»æ¥ã¯80ã¾ã§ããã®ã¨ãããæ°å¦ã使ãåé¡ã沢山ã§é¢ç½ãã§ããã ãã¿ã´ã©ã¹æ°ã¨ããã³ããæ¨ Problem75 ç°¡åã«ã¯ 1,500,000以ä¸ã®L㧠a^2 + b^2 = c^2 ã㤠a + b + c = L ãæºããèªç¶æ°a,b,cã®çµãã¡ããã©ä¸çµã¨ãªããããªLã®åæ°ãæ±ãã ã¨ããåé¡â¦
ä¹ ã ã«Project Eulerããã¾ãããã¾ã rowlã¯ä½¿ãã段éã«ãªãã®ã§ãRubyã¤ãã£ã¦ã¾ãã ãã®ãããããæ°è«ã®åé¡ãããããåºã¦ãã¦é¢ç½ãã£ãã§ãã ãºã«æ¹ç¨å¼(Problem 66) ç°¡åã«ã¯ Dãå¹³æ¹æ°ã§ãªãæ´æ°ã®æ x^2 - Dy^2 = 1 ã®æ´æ°è§£ãæ±ãã ã¨ããåé¡â¦