2008-10-01ãã1ã¶æéã®è¨äºä¸è¦§
以åæ¸ãããã¨ããéã®ç«å ´ããèªã£ããããªè¨äºãããã¾ãããå±±ã®é ä¸ã«ç»ããã¨ã第ä¸ã®ç®çã§ããç»å±±éã®ä¸ã«ãé ä¸ã«éãããã¨ãç®çã§ã¯ãªã人ï¼æ¯è²ã楽ããã¨ãçæ ç³»ã調ã¹ãã¨ãã®ãå¥ã®çç±ã§å±±ã«æ¥ãï¼ãç´ãè¾¼ãã ãã©ãããããã¨ããæ¯å©â¦
ã¢ã«ã´ãªãºã ã¤ã³ãããã¯ã·ã§ã³ 1ç« ã®ç·´ç¿åé¡ããã æé©è§£ããæå³ãæããªããããªç¾å®ç¤¾ä¼ã®åé¡ãããããã¾ãããè¿ä¼¼è§£ãã§ãååã§ãããããªåé¡ããããã ã¯ã£ã¨ããããã¾ããããªã«ã大ããªãã¨ãåãããããã¦ããæ°åã§ãã æã足ãåããªâ¦
å°±å¯åã®èªæ¸ãå¿å°ããå£ç¯ã§ãã çç«å³æ¸é¤¨ã®è¿å´æéã¯3é±éãªãã§ãããã3é±éããããã¨æã£ã¦ãã¾ãã¨èªããªããã®ã§ãããã¤ã3ååãã¦ããã©ãå ¨é¨èªãã ãããããªããä»åããã¨1åãèªããã«è¿å´æéãè¿ãã¦ãã¾ã£ãã次ããã¯2åã«æãã¾ãâ¦
ããã¾ã§ã®ããã¹ãã¨ãã£ã¿ä½¿ç¨æ´ãæ¸ãã¨ããããªæãã§ãã ãããã¹ãã¨ãã£ã¿ã£ã¦ä½ã§ããï¼ãæ代ï¼ã2005å¹´ç§ï¼ Terapadï¼2005å¹´ç§ã2007å¹´åï¼ EmEditor Freeï¼2007å¹´åãç¾å¨ï¼ å°ããã¤é«æ©è½ã®ãã®ã«ä¹ãæãã¦ãã¦ãã¾ããEmEditorã®æ©è½ãããâ¦
ã»ãã¥ãªãã£ï¼ããã°ã©ãã³ã°ãã£ã³ããå ¨å½ãå»»ã£ã¦ãã http://www.jipdec.or.jp/camp/caravan/okayama.htmlããã岡山ã¾ã§æ¥ããã ãããã¯è¡ããããªããªãJRã®æéã調ã¹ãã¨ãå§çºã§å¾³å³¶ãåºãã¨ãã¦ä¼å ´ã®æå¯ãé§ ã«çãã®ãéä¼5ååãã交éè²»ãæâ¦
2001å¹´9æ11æ¥ãã¯ã¼ã«ããã¬ã¼ãã»ã³ã¿ã¼ãã«ã®102åé - A Successful Failureãèªã¿ã¾ããã911ã®æã¯åã¯é«æ ¡3å¹´çã§ãè¶ ãã¤ãç°èã§ããå°å ããä¸ã®ä¸ã«é£ã³åºãã¦ããã®ãåå¹´å¾ã«æ§ããç¶æ ã§ããã ãããªä¸ãã®ãããèµ·ãã¦ãããããä¸çã¯ä¸ä½â¦
æ¨æ¥ã®ç¶ããããã¾ã§ã®å®è£ ã ã¨ãããæççµè·¯ã§ã¯ãªãã¨åãã£ã¦ããè¦ç´ ããã¥ã¼ã«è¿½å ããã¦ãã£ã¦ãã®ã§ããããæå¶ãããããªãã®æéç縮ã«ãªãã¾ãããã·ã¹ãã ãã¹ãã®ä¸çªé ããã¤ã§500mså¼±ããããããããããã®éã®ã¢ã«ã´ãªãºã ãå¶éæéå ã«â¦
ååã®SRMã®500ç¹åé¡ãæãåºãªãã£ãã®ã§å¾©ç¿ã1æéå¼·ãããã¦ãã¤ã¯ã¹ãã©æ³ã§æ¸ãã¦ã¿ã¾ããããããªã«æéãããã£ã¦ãã¾ãã¨æ¬çªã§ã¯ã¨ã¦ãç¡çã ãªâ¦ãã©ããã£ãããããªã®ã20ã30åã§æ¸ããããã«ãªãã®ã ããã ããã¯ãã¦ãããåãæ¸ããã³ã¼ãâ¦
æ¨æ¥ã®TopCoder SRMã§ã®ã¡ãã£ã¨ãããã¨ã 確çã表ããã¼ã»ã³ãå¤ãæ´æ°ã¨ãã¦åãåãé¢æ°ã§ã®å¦çã確çè¨ç®ãããããã«æ´æ°ã®ãã¼ã»ã³ãå¤ã100ã§å²ãããã§ãããèªåãæ¸ããã³ã¼ããããã double calc(int input){ double p = (double)input / 100â¦
ä»åãããããã¯ä¸ä»£TopCoderé¨ã§ãã£ããããªããã®SRMãããã¯æ¥½ãããåå¼·ã«ãªãã Coding Phase 250ç¹åé¡ çµã¿åããã§ç¢ºçãè¨ç®ãã¦è¶³ãåãããã ããä»åã¯ã»ã¨ãã©ãã¹ãªãã¹ã ã¼ãºã«ãããããå°ãç·´ç¿ããææãåºã¦ãã¦ã¾ãã 500ç¹åé¡ ããâ¦
ã¹ã©ãã·ã¥ãããã§ãããã¨è¨ã£ã¦ã人ãããã æ°ããéå ·ãæã«å ¥ããã¨æ°ãããã¨ãã§ããæ°ã«ãªããã©ããæã«å ¥ããªãéã¯PCãã½ãããã¿ãã¬ããæã«å ¥ããã°åãçµµãæããã¨ãã PCè²·ã£ã¦ãããæ¥ç¶ããã°ããã°æ¸ããã¨ãã æ°ããããã°ã©ãã³ã°è¨â¦
åãæå³ã£ã¦ä½ã ãããã¨ãããã¨ã§æ©ãã¡ã³ã¿ãªãã£ãåã«ã¯ããç解ã§ããªãã¦ãã©ããã¦ãªãã ãããã åã¯æ¥ã ä»äºããã¦çµ¦æãããããã¨ã§æ®ããã¦ããããã§ãããããã¯èªåã§åãã¦ç¨¼ããªããçæ´»ãæãç«ããªããï¼ ã¨ããçµæ¸ç¶æ³ã ãããããâ¦
TopCoder SRM421ã®ãDIV1 Level1åé¡ï¼ä¸æå¼åã®å¹³è¡¡ç¹ãæ±ãããã¤ï¼ã«ã¤ãã¦ã ãã®åé¡ã®éª¨åã¯ãå調é¢æ°ã®é¶ç¹ãäºåæ¢ç´¢ã§æ±ãããã¨ãããã®ã§ããã ã§ãããåãé¨å±ã§2人ãè¦æ £ããªã解ãæ¹ããã¦ãã¦æ°ã«ãªãã¾ããã ãã®ï¼ ãã®ï¼ï¼TopCoderã®â¦
ä»ã·ã¼ãºã³æåã®å¤§ä¼ããã¼ããã©ã½ã³ã«åºå ´ã§ãã ãã ãããæ°ã¯ã¡ãã£ã¨ä½ããã¨ããã®ãããã°ããåãã両足親æã®çªã«å åºè¡ããã£ã¦å°ãçãã§ãã¦ãããä¸ã¶æã¾ã£ããèµ°ã£ã¦ãªãã£ãã®ã§ãã ã´ã£ãã足ã«åãé´ãè²·ã£ã¦ãç é¢ã«ãè¡ã£ã¦ãåæ¥ã«â¦
ã¯ã¦ãªã°ã«ã¼ãã®ãããã¯ä¸ä»£ã«åå ãã¾ããã åã¯83å¹´çã¾ããªããã§ããããã®ãããã¯ãã¾ãæ°ã«ããªãï¼èª¤è§£ã®ç¡ãããã«æ¸ãã¦ããã¨ãåå ããã®ã«å¹´é½¢å¶éã¯ããã¾ããï¼ãå°æ¹ã«ä½ãã§ããã¨ãããããªäººãã¡ã®æ´»åã«è§¦ãã¦èªåã磨ããã¨ããããâ¦
1. æ¯æ¥ããã°ãæ¯æ¥ä¸éãã¦ããæ¯æ¥ä¸å®éãæ¸ããã¨ã«ããã®ã¯ãæç« ä¿®è¡ã®ããç¿æ £ã§ããã¹ãã£ã¼ãã³ã»ãã³ã°ã¯ä½å®¶å¿æã®äººã¯æä½ã§ãæ¯æ¥ 1000 åãå¤åæ¥æ¬èªã®å稿ç¨ç´ã«ããã° 2, 3 æãæ¸ãç¿æ £ãã¤ããã¹ãã ã¨æ¸ãã¦ããããã§ãããè¯ãæç« ãâ¦
Coding Phase 250ç¹åé¡ äºåæ¢ç´¢ã§èª¿ã¹ãã ããä»åã¯ãªããªãç´ æ©ã解æ³ãè¦ãããªãã¨æã£ã¦ããããã¾ãããã¤ã¼ã¸ã¼ãã¹ããã£ã¨è¦ã¤ããããã«ã¨ã¦ãæéãè²»ããã¦ãã¾ã£ããäºåé£ç¶ã§ãã®ãã¿ã¼ã³ãâ¦â¦ã 500ç¹åé¡ ããæ°å¦çã«ã¡ããã¨ãããã¨ãâ¦
éã¯å¤ãããã©ãå°ãã¿ã§ãã Javaã®æ°å¤ã¯ã©ã¹ãæååããã¼ã¹ããè¦å Javaã®æ°å¤ã表ãã¯ã©ã¹ã¨ãã¦ã代表çãªãã®ã«Integerã»Doubleã»BigIntegerã»BigDecimalãããã¾ãã ãããã®ã¯ã©ã¹ã¯ãããããæååã§è¡¨ç¾ãããæ°å¤ããã¼ã¹ããã³ã³ã¹ãã©ã¯â¦
ã¡ããã¡ããã¨é²ãã¦ããProject Eulerã§ããããããã100åç®ã«å°éããã£ãã¼ã Last Solved ã®æ¥æãçæ¼ã«ãªã£ã¦ããã®ã¯æå·®ã®ããã§ããä»äºä¸ã«ãã£ã¦ããããããªããã ä¸ã¤ã ãæªåçãããã®ã¯æ®å¿µã§ããâ¦ããã®ä¸ã¤æ®ã£ã¦ããã¤ãæåæ¹ç¨å¼ãâ¦
Joel on Softwareä½è : Joel Spolsky,éæ¨éåºç社/ã¡ã¼ã«ã¼: ãªã¼ã 社çºå£²æ¥: 2005/12/01ã¡ãã£ã¢: åè¡æ¬è³¼å ¥: 18人 ã¯ãªãã¯: 371åãã®ååãå«ãããã° (451件) ãè¦ãçç«å³æ¸é¤¨ã§åããæ¬ãã®3ã ã¸ã§ã¨ã«ããã®è»½å¦ãªèªãå£ã楽ãããã½ããã¦ã§ã¢éâ¦
Coding Phase 250ç¹åé¡ åç´ã«ã·ãã¥ã¬ã¼ã·ã§ã³ãã¦èª¿ã¹ãã ããã®ã¯ãããã¤ã¼ã¸ã¼ãªãã¹ããã£ã¨è¦ã¤ããããã«ã¨ã¦ãæéãè²»ããã¦ãã¾ã£ãã 500ç¹åé¡ æ·±ãåªå æ¢ç´¢+ã¡ã¢åããããOutOfMemoryãStackOverflowã ããã£ãã·ã¥ãµã¤ãºãè²ã ããã£ã¦ãåâ¦
ãªãã§ãã¹ãã¼ããçºçãã¡ããã®ãâ¦ä¼è¨ã²ã¼ã ã®ææ:ãã°Q ä¼è¨ã²ã¼ã ã£ã¦å°å¦çã®æã«ãããã£ã¦ãªããã©ããããã«é¢ç½ãã»ã©å¤ãªæã«ãªã£ã¦ããªãã ã©ããã¦ä¼è¨ã²ã¼ã ã¯ãããªã«é£ããã£ãã®ãèãã¦ã¿ãã 1ç®æã§ãééãã¨å ¨ã¦ã誤ãã«ãªã 誰ä¸â¦