2011-05-01ãã1ã¶æéã®è¨äºä¸è¦§
1122â1160ï¼ããããDiv 1ã«å¾©å¸°ã§ããããªï¼ 250 é ç¹ãã¨ã«è·é¢ã対å¿ãã¦ããã®ã§ï¼æ大ã®è·é¢ãåºãã°ããã ãï¼ã³ã¼ããæ¸ãé度åè² ï¼ 500 åãè²ãæ大2ã¤ä½¿ã£ã¦ï¼åè¨ã6以ä¸ã«ãªãã°ããï¼æåºé度åè² ï¼ 1000 åç´ãªå¹ åªå æ¢ç´¢ãæ¸ãããï¼ãµã³ãâ¦
def isPentagonal(q): x = (1 + math.sqrt(1 + 24 * q)) / 6.0 return int(x) == x def isTriagonal(q): x = (1 + math.sqrt(1 + 8 * q)) / 2.0 return int(x) == x
æ°æ¥åããProject Eulerã«æãåºããï¼ ç¾å¨ã¯ã¬ãã«2ï¼ããããç·å½ãã¨ãã ã¨ããªãå³ããâ¦â¦
1082â1122ï¼ Smallã¨Mediumãéã£ãï¼ Smallã¯æå°ã®è¦ç´ ã«1足ãã¦ã½ã¼ããããè¿ãåç´ãªæ¹æ³ã§è§£ããï¼ Mediumã¯å¥æ°ã®æã¯7ã1åï¼å¶æ°ã®æã¯7ã0åãªãã¨ããããã°ããã¡ãã£ã¨æ©ã解ããããªï¼
pixiv-tag-suggest ã¢ãããã¼ãã¤ãã§ã«userscript.orgã§å ¬éï¼ æ©è½ pixivã§ããã¯ãã¼ã¯ã¿ã°ããµã¸ã§ã¹ãããGreasemonkeyã¹ã¯ãªããpixiv-tag-suggestãæ¸ãã¾ãã - å¯ç©æ¯ç @Scaled_Wurm ä¿®æ£å 容 ã¹ã¿ãã¯ãã£ã¼ãçµç±ã§ããã¯ãã¼ã¯ããã¨ãã®ãã°â¦
Download pixiv-tag-suggest.user.js Version 1.1 pixiv-tag-suggest ææ°ç Chromeæ¡å¼µçãä½ãã¾ããï¼ãããã¯ä¿åæã®ãã©ã«ãæå®ããã¡ã¤ã«åã®ç½®ãæããªã©ã«å¯¾å¿ããäºå®ï¼ Chromeæ¡å¼µçã«ã¯å¦ç¿æ©è½ã追å ããã¦ãã¾ãï¼ ãPixiv Tag Suggestãã«å¦â¦
ã½ã¼ãããã¨ãã«å¿ è¦ã ã£ãã®ã§ï¼ function strcmp(a, b) { if ( a.key < b.key ) { return -1; } if ( a.key > b.key ) { return 1; } return 0; }
Common Subsequence 解説ãç´ æ´ã«å®è£ ï¼ function LCS(a, b) { var sizea = a.length + 1; var sizeb = b.length + 1; var table = new Array(sizea); for(var i = 0; i < sizea; i++) { table[i] = new Array(sizeb); } for(var i = 0; i < sizea; i++) { fâ¦
趣å³ã§èªãã è«æãªã©ãå¦åãããã¨æãã®ã§ï¼ã¿ã¤ãã«ã ãã¡ã¢ï¼ æ°ã¶æåã«èªãã ã®ãå¤ãï¼ "Finding scientific topics" å°åºãããããªãã£ãï¼ "A Collapsed Variational Bayesian Inference Algorithm for Latend Dirichlet Allocation" "Online Leeâ¦
ä¸ã¤ã®Audioãªãã¸ã§ã¯ãã ã¨åæã«ä¸ã¤ããåçã§ããªãã®ã§ï¼ã²ã¼ã ãªã©ã§ä½¿ãå ´åã«ã¯å¤éã«ä½æãã¦ä½¿ãåãï¼ ä¸ã¤ã®ãã¡ã¤ã«ã«å¯¾ãã¦nåã®Audioãªãã¸ã§ã¯ããä½æãã¦é çªã«åçããï¼ function m_play(sound, n) { var index = 0; var sounds = new â¦
ç»å以å¤ã®ãã®ã表示ãããæ¹æ³ãããããªãã£ãã®ã§é©å½ã«èª¿ã¹ã¦ã¿ãï¼ Surfaceã¯ã©ã¹ã®ãªãã¸ã§ã¯ããä½æãã¦contextã«æãã°ãããããï¼ contextã¯canvasã®ãã®ã¨åãï¼ï¼ï¼ãããç©å½¢ãå弧ãªã©ãæããï¼ var player = new Sprite(100, 100); var suâ¦
ãã¥ã¼ããªã¢ã«çãªãã®ãè¦ã¤ãããªãã£ãã®ã§èªå·±æµã§ï¼ ã¹ããã1: enchant.jsãèªã¿è¾¼ã åºæ¬çã«ã¯enchant.jsãèªã¿ããã°ããï¼ ã¹ã¿ã¼ãç»é¢ãã²ã¼ã ãªã¼ãã¼ç»é¢ï¼ãã¤ã¹ã³ã¢ã®éä¿¡æ©è½ã使ãããå ´åã¯nineleap.enchant.jsã使ããï¼ ui.enchant.jsâ¦
935â1082ï¼åãã¦é¨å±ã§ä¸ä½ãã¨ããï¼ Smallã¨Mediumã解ãã¦ä¸äººæå¢ï¼ Largeã®è§£ãæ¹ãããããªãï¼ å¨ããYã§å²ã¾ãã¦ããã¨ããã«çµã£ã¦å帰ã¨ãã§è¡ããã®ããªï¼