2013-01-01ãã1å¹´éã®è¨äºä¸è¦§
http://projecteuler.net/index.php?section=problems&id=45217çã26ç§ã ããããåé¡ã«ãªãã¨Pythonã¨ãããLLè¨èªã¯å¨åãçºæ®ãããå°ä½ã¯æå¾ã«åãã°ããã®ã ãã¾ã¨ãã«è¨ç®ãã¦ããã£ãã®200æ¡ãã¾ããããããã¡ã£ã¨å°ä½åããªããè¨ç®ãããã¨ããâ¦
Problem 226ãã®æ²ç·ã¯é«æ¨æ²ç·ã¨ãã¦ãç¥ããã¦ãã¾ããé«æ¨ã¨ã¯ãã¡ããé«æ¨è²æ²»ã®ãã¨ã§ãã ãã®åé¡ã解ãã«ããããé£ç¶æ§ã¨å¾®åä¸å¯è½æ§ã«ã¤ãã¦ã®è¨¼æãèããã®ã§ãããããã©ããªã®ã§ããã«ã¯æ¸ãã¾ããã ãã©ã¼ã©ã ã«æ¸ãã¾ããã
http://projecteuler.net/index.php?section=problems&id=314326çã27ç§ã ã¤ãã«ãã¼ãã§ã¯ããéæããããã£ã¨åé¡ãèªã¿ééãã¦ãããã¨ããããã¶ããã¯ã«èªãã§ããªãã£ããææã®å¤å¯ãåã«ãªãã¨ãªãå訳ãèªãã§ã¿ããå®å ¨ã«ééã£ã¦ãããã¨ã«æ°â¦
http://projecteuler.net/index.php?section=problems&id=45185çã15åã æ¥æã¯ãã¾ãæ¸ãããä»æã¸ã§ã®ã³ã°ããªããèããæ´çããã 帰ã£ã¦ããæ¸ãã¦ã¿ãããPyPyã§2åãããããããããããããå®éã«åããã¦ã¿ãã¨ã¡ã¢ãªã足ããªããPythonã§ã足â¦
http://projecteuler.net/index.php?section=problems&id=45023çã1ç§ã æ¥æã¯ä½ãæãã¤ããªãã£ãã ææã®æã«ãå®ã¯ãã®åé¡ã¯ãããªã«é£ãããªããã¨ã«æ°ãä»ããã ãã®åé¡ã¯2ã¤ã®é¨åã«åãããã¨ãã§ãããææã®å¤ã«ååããªãã¨ãæ¸ãããã¾ã â¦
Problem 227 ãã©ã¼ã©ã ã«æ¸ãã¾ããã
http://projecteuler.net/index.php?section=problems&id=44930çã ã¹ã¿ã³ãã¤ããã許ãããæéã¯1æéåãä¸ç¬æ¥åä½ããæ¥åä½ãå¼ãã ããªããããã¨æã£ããããããã«ããã¯ãªããå°ãèããã°ããã§ã¯ãã¡ãªãã¨ãããããããããããã解ãã«ã¯ã©â¦
http://projecteuler.net/index.php?section=problems&id=44813çã90ç§ã åºããã¦ãã¦é»è»ã®ä¸ã§ã³ã¼ãã£ã³ã°ã ããã¦ããã¨ã¯å¸°ã£ã¦PCã§åããã ãã ã£ãã帰ã£ã¦åããã¤ã¤ãã°ã¤ã³ãããã¨ãããå ¥ããªããä½åº¦ãã£ã¦ããã¡ãTLãè¦ã¦ã¿ãã¨ã7人ããæ£â¦
http://projecteuler.net/index.php?section=problems&id=44736çã99ç§ã ããã£ã¦ãã¾ãã°ãªãã¨ãããã¨ããªãã£ãã ãã®åé¡ã¯åã®2åã¨ã¯è§£ãæ¹ãéããããããªããã°ä¸æ©åã«æ»ãã°ããã ä¹ ãã¶ãã«é±æ«ã«çµãããªãã£ãããçµæçã«3åã¨ã50ä½ä»¥â¦
http://projecteuler.net/index.php?section=problems&id=44631çã ãã£ã¡ã®æ¹ãç°¡åãn4 + 4ã¯é«æ ¡æ°å¦ãæãåºãã ãã ãµã¤ãã«æ¸ãã¨ã¡ã¢ãªã足ããªãããã¡ãã£ã¨ã ã工夫ãããã®ãªã®ãªè¶³ããã
http://projecteuler.net/index.php?section=problems&id=44540çãPythonã§6åãããã£ããPyPyã¯é ãã£ãã ãã¤ãã¨éãç¹æ®ãªãã¨ããã¦æéåã£ãããµã¤ãã«æ¸ãã¨O(N^2)ã«ãªã£ã¦ãã¾ãã
http://projecteuler.net/index.php?section=problems&id=44431çã0.7sã å段ã¯ãé»è»ã®ä¸ã§èãããã¨æã£ããã©ãã¢ã¡ãªã«ã®å°»æãã®ããããããã«æ··ãã§ãã¦ç¡çã ã£ããæ¼é£ã§å®é£ãé£ã¹ã¦ããã¨ãã«ãã¼ãã«è¨ç®ãã¦ãããããã£ããå¾æ®µã¯ã¾ã£ããâ¦
Problem 220 forumã«æ¸ãã¾ããã
http://projecteuler.net/index.php?section=problems&id=44362çã æèµ·ãã¦åé¡è¦ãããã§ã«54人ã解ãã¦ãããè¶ Easyåé¡ã¯ãã¤ããã®æéã«åºã¦ãããããªæ°ãããã ãã®åé¡ã¯å®é¨ãã¦ã¿ãã¨ãããã Pythonã§16ç§ãPyPyã§3.4ç§ã ã£ãã
http://projecteuler.net/index.php?section=problems&id=328267çã æ¥ããã«è¦ç´ãã¦ãããã¯å帰çãªåé¡ã ããã¨èãã¦ãããããã®ãã¡ã«è§£æ³ãããã£ãããããããªããªãå®è£ ããã¾ããããªããæãç·ã®é¢æ°ãèããã®ã ãããã®æ¼ç®ãåããªããæãªâ¦
http://projecteuler.net/index.php?section=problems&id=44252çã æ¨æ¥åé¡ãåºã¦ããã«è§£æ³ãæãã¤ããããã å®è£ ã大å¤ã ã2/3ãããæ¸ãã¦æ©ãã«å¯ããä»æèµ·ãã¦æ®ããæ¸ãã¦ãE(10000)ã¨ãããã¤ã¼ããªå®è£ ã¨åã£ã¦ãããã¨ã確èªãã¦E(1018)ãè¨ç®â¦
http://projecteuler.net/index.php?section=problems&id=352344çã40åã2å¹´ã¶ãã«è§£ããã æ¨æ¥ã®æãã¡ãã£ã¨ã®æéã§åé¡ãè¦ç´ãããã«ãå訳ãç¡ããæ¤ç´¢ãããå訳ãµã¤ãã復活ãã¦ããããããèªãã§é»è»ã®ä¸ã§èããããç°¡åãªãã¨ã«æ°ãä»ãããâ¦
http://projecteuler.net/index.php?section=problems&id=44124çã ããã¯Project Eulerã«å ¸åã®åé¡ãåæããã®ãã¿ã¼ã³ã ãããæã£ã¦èããã¨ããã«ããã£ãããããããªããªããã°ãåããªããN=10ã§å°éã«ãããã°ããã5æéè¿ãããã£ã¦ãã£ã¨ãã©â¦
http://projecteuler.net/index.php?section=problems&id=44041çã T(n)ãè¨ç®ããã®ã¯ç°¡åããããããããã®gcdãè¨ç®ããã®ã¯é£ãããã¨ããããå®é¨ãããã®ã ãããããããã¯ã§è¨ç®ãããããªãããªããªãã¡ããã¨ã¯ããããªããããã§ããªãã¨ãçªãâ¦
http://projecteuler.net/index.php?section=problems&id=439éãããæ¹æ³ãããããªãã®ã§ãã©ã¼ã©ã ãè¦ã¦ããªãã¨ãå®å ¨ç解ããã èªåã§çµãã§å ¨æ¡åºããããPyPyã§3ååã ã£ãã ããããè¦æè¦æã§9æ¡ã«ãã¦ããã¾ãé度ã¯å¤ãããªãã£ãããããããâ¦
http://projecteuler.net/index.php?section=problems&id=43924çã ææã®å¸°ãã«ã ãããããã£ã¦ãç«æã®æã«ããæ¼ãã§ããå¼ãè¦ã¤ãããç«æã®å¤ã«ã³ã¼ããæ¸ããããPyPyã§10æéãããããããããããã§C++ã§æ¸ãç´ããããããã§ã4æéãããããâ¦
http://projecteuler.net/index.php?section=problems&id=438å°ãå¤ãã¦20åãããéããªã£ãã®ã§ããã©ã¼ã©ã ã«æ¸ãããã ãhttp://projecteuler.net/thread=438#136498
http://projecteuler.net/index.php?section=problems&id=43834çã ã¨ã«ããå¤æ¬¡å ãªã®ã§é ã®ä¸ã§æ³åãã¤ããªãã¦æåã¯ãã¥ã¼ãªã¹ãã£ãã¯ãªæ¹æ³ãèãã¦ããããã©ãããã¾ãããããææã«æ¼é£ãã¨ãèããªããæ¹æ³ã§çµå±æå¾ã¾ã§æ¼ãåã£ããPythonã§â¦
http://projecteuler.net/index.php?section=problems&id=437pãæ³ã¨ãã¦2ä¹ããã¨nã«ãªãæ´æ°ãæ±ããã¢ã«ã´ãªãºã ãããã®ã§ããã使ãããã¨ã¡ããã¡ããã¨ç´ãããã57ç§ã«ãªã£ãã
http://projecteuler.net/index.php?section=problems&id=436åºéã1/Nã®å¹ ã§åå²ãã¦è¿ä¼¼ãã¦ãã¦ãåºéãããããé£ãã æ¹ã大ããã¨ãã¦ããããå®éã«ã¯ä¸çªå¤§ããåºéãé£ã¶ã®ã¯ããããä¸ã¤å°ããé£ã¶ã®ã¨ãã¶ã£ã¦ãã¦ããããèæ ®ããã¨N = 128ã§åæâ¦
http://projecteuler.net/index.php?section=problems&id=43774çã ä»æé»è»ã®ä¸ã§çµãã ãããããããã¯ã§ã¯åä¸è¶³ã å¤å¸°ã£ã¦ãã¦ããåããã¦ã¿ãã¨ãã¡ã¢ãªã足ããªããå¤åé·æ´æ°ã使ã£ã¦ããããã ãããã¯ãµãããªã®ã§ãé¨åãµããã使ã£ã¦ã¿ããã¾â¦
http://projecteuler.net/index.php?section=problems&id=43697çã å¹³æ¥çµãæéããªãã¦ãæ¨æ¥é»è»ã«ä¹ã£ã¦ããå°ãã®éã«ã³ã¼ããæ¸ãããããªãã1/2ã«åæããã ä»æ¥é»è»ã®ä¸ã§437ã®ã³ã¼ããçµãã§ããã®ãã¨ã«ãã¼ããè¦ã¦ããããã¹ã«æ°ä»ããã è¿â¦
http://projecteuler.net/index.php?section=problems&id=426121çã ãããªã«èããã®ã«ãå®ã¯åã«æ¤ç´¢ããã°ããã ãã®åé¡ã ã£ããããã¦ããã¤ã¼ãã«æ¸ãã¨O(N^2)ã ããã¡ãã£ã¨ãã¼ã¿æ§é ã工夫ããã°ã»ã¼O(N)ã¨ãªããPyPyã§2.6sã ã£ãã
http://projecteuler.net/index.php?section=problems&id=43592çã Project Eulerã¯ã ãããåé¡ã90度éãè§åº¦ããè¦ãã¨ããããããããã®åé¡ã¯éããç´ ç´ã«è§£ãã°ããã ãããã ãProject Euleré »åºã®ãã¯ããã¯ã¯è¦ãã
Pellæ¹ç¨å¼ã®åæ解ã¯ãé£åæ°ããæ±ãããã¾ãï¼ãã«æ¹ç¨å¼ï¼2ï¼åç §ï¼ãæ¡å¼µPellæ¹ç¨å¼ã®åæ解ãããã¨ãã¯ããã®é£åæ°ãPellæ¹ç¨å¼ã®åæ解ãæ±ã¾ãåã«æ±ãããã¾ããD = 5ã§ãã£ã¦ã¿ã¾ãããã â5 = 2 + (â5 - 2) = 2 + 1/(â5 + 2) = 2 + 1/(4 + (â5 â¦