2013-01-01ãã1ã¶æéã®è¨äºä¸è¦§
http://projecteuler.net/index.php?section=problems&id=412ãã©ã¼ã©ã ã«ä¹ ãã¶ãã«æ¸ããã
http://projecteuler.net/index.php?section=problems&id=412ãããã工夫ãã¦0.25ç§ã«ãªã£ããPythonã§ã¯ãããéçã¨ãããã¨ã«ããã
http://projecteuler.net/index.php?section=problems&id=41259çã49ç§ã ä»æã¾ã§èããããä½ãæãã¤ããããã¤ã¼ããªå®è£ ã§æãããªç¹å¾´ãããã®ã ããæ³åæ§ã¯è¦ãã ãããããããªãæãã¤ããå¯ä¸ã®ãã¼ã¯ã¼ãã§æ¤ç´¢ãããããã£ããè¦ã¤ãã£ããå®â¦
http://projecteuler.net/index.php?section=problems&id=411112çã9åã 帰ãã®é»è»ã®ä¸ã§n = 19ã®ç¹ãè¨ç®ãã¦ããããææãã§ãããããã¦ãçããæ±ãã¦ãããã¦ãããçºãã¦ããããé©ãã¹ã解æ³ãæãã¤ããããã®è§£æ³ãæã§å®è¡ãã¦ãããæãç«ã¤â¦
æ¨æ¥ã»ä»æ¥ã¨çããJavaScriptãæ¸ãã¦ããã¨ãããé åã®æ大å¤ãä¾ãã°Pythonã®ããã«ã numArray = [ 3, 1, 4 ] max(numArray) ãããªé¢¨ã«æ¸ããªããã¨èãã¾ãããæ¤ç´¢ããã¨ã Math.max.apply(null, numArray); Math.max - JavaScript | MDN ãã®applyâ¦
http://projecteuler.net/index.php?section=problems&id=410å¥è§£æ³ã«ããã7åã«ãªã£ããããã«Numpyã使ã£ãã22ç§ã«ãªã£ãã
http://projecteuler.net/index.php?section=problems&id=410ã³ã¼ãæ´çããã12åã«ãªã£ãã ãã£ã¨éããªãã¯ãã
http://projecteuler.net/index.php?section=problems&id=41028çã ããæ¼ã1æé17åãææ¥ãªãã¨ãããã ãããªã®ã§ã10ãã¤ã³ãã¯ç¢ºå®ã ã
åæ¡ãç°ãªãèªç¶æ°ã«ã¤ãã¦ï¼2ï¼ã®ç¶ãã§ãããã¹ã¦ã®æ±å·¥å¤§æ°ã®å¹³æ¹ã®åãèãã¾ãããã å¹³æ¹ãªã®ã§åæ¡ãã¨ã«åãåãã¨ããããã«ãããã¾ãããããã§ã¯åå²çµ±æ²»æ³ã使ã£ã¦ã¿ã¾ããä¾ãã°1ã5ã1åãã¤ä½¿ã£ã5æ¡ã®æ°ã®å¹³æ¹ã®ç·åãèãã¾ãã120åããâ¦
åæ¡ãç°ãªãèªç¶æ°ã«ã¤ãã¦ï¼1ï¼ã®ç¶ãã§ããã¾ããæ±å·¥å¤§æ°ã¯ããã¤ããã§ãããã æ¡æ°ãã¨ã«èãã¾ãããã1æ¡ãªãã1ã9ã®9åã§ããã2æ¡ãªãã10ã99ãã11,22,â¦99ãé¤ããã81åããã¾ãã 3æ¡ãªããããªã«èãæ¹ã§ã¯é£ããã§ããã10åã®æ°åãã3åâ¦
å ãã¿ã¯ããã§ãã æ±å·¥å¤§å¦é·ãæ¬å¦ã§ã¯2013ãç´ æ°ã§ã¯ãªãã¨è½èããå¦çãå¤ãããã§ãããããã§ã¯2013ã®ãããªåæ¡ãç°ãªãèªç¶æ°ããæ±å·¥å¤§æ°ãã¨å¼ã³ã¾ããããã ãã®ãã¿ã§Project Eulerã®åé¡ã«ãªããããªãã®ãèããããªãã§ãããããä¾ãã°ãâ¦
http://projecteuler.net/index.php?section=problems&id=40930çã ã¡ããã¨èããã°ããã¯æãããå®è³ª8è¡ã
å°ä½é¡ ã¾ãã¯å°ä½é¡ã®èª¬æãããã¾ããä¾ãã°15ã®å°ä½ã§èãã¾ãã2ã¨17ã¨32ã¯15ã§å²ãã¨ä½ãã2ã«ãªãã¾ãããããã¯åãã¨ã¿ãªãã¦å°ä½é¡ã¨å¼ã³ã¾ãã H0 = { â¦, -15, 0, 15, 30, ⦠} H1 = { â¦, -14, 1, 16, 31, ⦠} H2 = { â¦, -13, 2, 17, 32, ⦠} ⦠-13â¦
http://projecteuler.net/index.php?section=problems&id=4085åã53ç§ã«ãªã£ããæ¢ç´å°ä½é¡ç¾¤ä¸ã§ã®å²ãç®ã«æéãããã£ã¦ããã®ã ãããããç°¡åãªãã¨ã§éããªã£ãã
http://projecteuler.net/index.php?section=problems&id=408113çã é ã解æ³ã¯ããã«ããã£ã¦ã®ã ããè¨ç®éãè«å¤§ã§ç¡çã ã¨æã£ã¦ãããããããç¹ã®æ°ãå®ã¯å°ãªããã¨ã«æ¨æ¥æ°ãä»ãã¦ãä»æ¥çµãã§ã¿ãããã£ããçããåºãã ããããã¾ã 5åããã£ã¦â¦