2012-04-01ãã1ã¶æéã®è¨äºä¸è¦§
Problem 124 - Project Euler ã¨ã©ãã¹ããã¹ã®ãµããçã«ç´ å æ°å解ãç©ãæ±ãã¦ã½ã¼ãã def rad(MAX): rad = [1] * MAX i = 2 while MAX + 1 > i: if rad[i - 1] == 1: rad[i - 1] *= i temp = i * 2 while temp < MAX + 1: rad[temp - 1] *= i temp += iâ¦
äºæéãããããã¦Bã¨Cã ã解ããï¼ B å¤ãp+2*(p-1)以ä¸ã®åæ°ã¨ï¼ãããã¯å¤ãp+2*(p-2)以ä¸ã®åæ°(Såã¾ã§)ã足ãã°ããï¼ C æ°å¤ã®ååã¨å¾åãå ¥ãæ¿ããæã«ä»¥ä¸ããã§ãã¯ããã°ããï¼ å é ã0ã§ãªã å ã®æ°å¤ã¨çãããªã å¤ãç¯å²å ãã§ã«åºã¦ãâ¦
Google ç»åæ¤ç´¢ã«ã¯ãç»åã§æ¤ç´¢ã(Search by Image)ã¨ããæ©è½ãããï¼ç»åããä¼¼ãç»åãæ¢ããã¨ãã§ãã¾ãï¼ ãããèªåçã«å©ããã°ç»åã®é å¸å ãè¦ã¤ãããï¼è»¢è¼ã®æ¤åºã¨ãã§ããã®ã§ã¯ãªããã¨æã£ã¦è©¦ãã«APIããªãã調ã¹ã¦ã¿ãã®ã§ããï¼è¦ã¤ãâ¦
ããã¿ã¼ã³èªèã¨æ©æ¢°å¦ç¿(PRML)ããèªãã¨ã¾ãããã¤ãºçã£ã¦ãªã«ï¼ãã¦ããã®ã§ã¤ã¾ã¥ãã¾ãï¼ äºååå¸ãèãã¦ãã¤ãºã®å®çã使ãã°ããã®ãã¨æãã°ï¼ããã£ã¨ãã¤ãºçã«ããã¨äºã ãã¨ããæç« ãç»å ´ï¼ ããã¤ãºçãã£ã¦ã®ã¯ï¼ãããããã¤ãºçãã ã£â¦
ã¡ãã£ã¨åã«ãµã¶ã¨ãã ã¸ã£ã³ã±ã³å¦ã¨ãããµã¤ãã話é¡ã«ãªãã¾ããï¼ ãã®æã¯ã¦ãã®ã³ã¡ã³ãã«ã誰ãæ©æ¢°å¦ç¿ã§ä¸å¤åé¡ãã¦ãããã°ããã®ã«ãçãªãã¨ãæ¸ããã®ã§ããï¼å®éã«ãã£ã¦ãã人ãçºè¦ããã®ã§ç´¹ä»ãã¦ããã¾ãï¼ åé¡è¨å® éå»ã®ãµã¶ã¨ãâ¦
ãã¶ãæ©è½ãç¥ããªãã ããªã®ãããã¤ãããæ°ãããï¼ ã¨ã©ã¼ã¡ãã»ã¼ã¸ã®æå³ãããããªã ã¨ã©ã¼ã¡ãã»ã¼ã¸ã®è¡çªå·ãæ¸ãééãã¦ãå ´æã¨ããããéã é åã®é·ããsizeofããªãã¨ããããªã æååæä½ã貧弱 ãã³ãã¬ã¼ãã使ãã¨ååããããé·ããªâ¦
Pixiv Tag Suggest pixivã§ããã¯ãã¼ã¯æã«ã¿ã°ã®æ¨è¦ãè¡ãChromeæ¡å¼µï¼ 詳細ã¯ä»¥ä¸ã®URLãï¼ Chrome ã¦ã§ãã¹ã㢠- Pixiv Tag Suggest ãPixiv Tag Suggestãã«å¦ç¿æ©è½ã追å ãã¾ãã - å¯ç©æ¯ç @Scaled_Wurm pixivã§ããã¯ãã¼ã¯ã¿ã°ããµã¸ã§ã¹ãããâ¦
AtCoder 第1åã³ã³ãã¹ã - 4/14 21:00 ~ 22:30㫠第1å AtCoderã³ã³ãã¹ã ãéå¬! id:chokudaiãããæ¥æ¬èªã®ç«¶æããã°ã©ãã³ã°ã³ã³ãã¹ããå§ãããããã§ãï¼ ããç¥ãããæ¥æ¬èªã«ããããã°ã©ãã³ã°ã³ã³ãã¹ããå®æéå¬ãã¾ããåã³ã³ãã¹ãã¯4/14ã®â¦
以åå½¢æ ç´ è§£æå¨KyTeaãWindowsã§ä½¿ããããã«ãªã£ããããã¨ããè¨äºãæ¸ãã¾ãããï¼ã³ã³ãã¤ã«æ¸ã¿ãã¤ããªã®é å¸ãå§ã¾ã£ãã¿ããã§ãï¼ KyTea 0.4.1ããªãªã¼ã¹ãã¾ãã URL ï¼ä¸»ã«å¤ãã£ã¦ããã®ã¯Windowsçãï¼ãã£ã¨ï¼ã§ããã¨ããã§ãããã以å¤ãâ¦
ã¿ã¤ãã³ã°ã²ã¼ã ã®ã¿ã¤ãã¦ã§ã«ã®è±åèªçããã£ã¦è±åèªãè¦ãããï¼ ç§ã¯å¤§å¦åé¨åã«è±èªã®åå¼·ã¨ç§°ãã¦ãã£ã¦ã¾ããï¼ã æé«ã§XDã¾ã§ããããã¾ããã§ãããï¼ã¿ã¤ãé度ã®ä¸æã«ã¯åèªãè¦ããã®ã¯å¿ é ãªã®ã§ã¯ãã©ãã¾ãï¼ åé¡ç¹ã¯åèªã®å½¢ãè¦ããâ¦
ã¯ã¦ãªããã¯ãã¼ã¯ã«CoffeeScriptã®æ¹å¤è¨äºãä¸ãã£ã¦ã¦è²ã è¦ã¦ã¿ãï¼ ç°¡æ½ã«æ¸ããã®ãå©ç¹ãªã®ã¯ããã¨ãã¦ï¼æ¹å¤ç¹ã¨ãã¦ã¯ä»¥ä¸ã®ãããªãã®ãæãããã¦ãã¾ããï¼ JavaScriptã¨CoffeeScriptã®ä¸¡æ¹ã®ç¥èãå¿ è¦ ãããã°ãå¤§å¤ CoffeeScriptãå»ããâ¦
Chromeæ¡å¼µãä½ã£ã¦ããã¨chrome.extension.sendRequest()ã«ããbackground pageã¨ã®éä¿¡ã®çµæãå©ç¨ãã¦åä½ããããã¨ãããããã¾ãï¼ ãããã³ã¼ã«ããã¯é¢æ°ã«ããéåæå¦çãããã¤ãããå ´åã«ã¯ï¼ä»¥ä¸ã®ããã«ãã¹ããæ·±ããªã£ããé çªãèããªãâ¦
1172â1151ï¼ 250ã解ãã¦ããéä¸ã§PCã®èª¿åãæªããªã£ã¦åèµ·åï¼æ²ãã¿ã«å ã¾ããï¼ 250 æ¦è¦ 1ã¬ãã³é£²ã¿ç©ãå ¥ã£ãç¶ãäºç¨®é¡ãã£ã¦ï¼1ã¿ã¼ã³ç®ã¯1種é¡ç®ã®1/2ï¼2ã¿ã¼ã³ç®ã¯2種é¡ç®ã®1/2ï¼3ã¿ã¼ã³ç®ã¯1種é¡ç®ã®1/4ï¼4ã¿ã¼ã³ç®ã¯2種é¡ç®ã®1/4ï¼â¦â¦ã¨é£²ãã§â¦