ãã¡ããDLãé¡ããã¾ãï¼ï¼
運ゲー排除マインスイーパ - UnambiSweeper - Google Play の Android アプリ
ããã¦ãã¡ãã御覧ä¸ããï¼ï¼
(2015/12/10追è¨)
ã¯ããã«
ããã«ã¡ã¯ã大ããæè¡ãæããªãæå¦é¨çã§ããã«ãããããããæè¿ä¼é·ã«ãªã£ã¦ãã¾ã£ãKMC1åçã®damaã§ãã
ãã®è¨äºã¯ KMC Advent Calendar 2013 ã® 24 æ¥ç®ã®è¨äºã§ãã
æ¨æ¥ã¯ hatsusato ããã® C++11で覚醒した共用体の話 ã§ããã
ä¸è¨ã®éããã¾ãæè¡çãªã話ãåºæ¥ãªãã®ã§ããã®æåãªã²ã¼ã ã«ã¤ãã¦ã話ããã¾ãã
ããããããã®è¨äºãè¦ã¦ããæ¹ãªãã°èª°ã§ãéãã ãã¨ãããã¨æãã¾ãããããã¤ã³ã¹ã¤ã¼ãã¼ãã¨ããã²ã¼ã ãããã¾ãã
ä¸å¿ç°¡åã«èª¬æãã¦ããã¨ã
- ããã¤ãã®å°é·ãåã¾ã£ãç¤é¢ãä¸ããããã
- ãã¹ã«æ¸ããã¦ããæ°åã¯ããã®ãã¹ã®å¨å²ã«åå¨ããå°é·ã®æ°ã表ãã¦ããã
- ãã®æ°åããã³ãã«ãå®å ¨ãªãã¹ããã¹ã¦éãããã¯ãªã¢ã
ã¨ãã£ãæãã®ã²ã¼ã ã§ãã
âå¤åãã®æç¹ã§éããããå ´æã¯1ã¶æã
æ
ãã¤ã³ã¹ã¤ã¼ãã¼ã¯ãå°é·ã®ä½ç½®ãè«ççã«æ¨æ¸¬ããªãããã¹ãéãã¦ããããºã«ã²ã¼ã ã§ããã¨ã¨ãã«ããªãã¹ãçãæéã§ã¯ãªã¢ããã¹ããã¯ããã¯ãé§ä½¿ããã¢ã¯ã·ã§ã³ã²ã¼ã ã§ãããã¾ãï¼ã¨ç§ã¯æã£ã¦ãã¾ãï¼ã
ããã¦ãããããæããã使ããã¦ãããã¯ããã¯ï¼ï¼ï¼ããflagging-styleï¼æç«ã¦æ¦æ³ã以ä¸fsã¨ããï¼ã§ãã
ãã¤ã³ã¹ã¤ã¼ãã¼ã§ã¯ãå°é·ã ã¨æã£ããã¹ã«æãç«ã¦ã¦ãããæ°åãã¹ã®å¨å²ã«ãã®æ°ã ãæãç«ã£ã¦ããæã«ãå¨å²ã®èªæãªå®å ¨ãã¹ãä¸æ¬ã§éãããã¨ãåºæ¥ã¾ãï¼ãããã¯ã¤ãã¯ãªã¼ãã³ã¨å¼ãã§ããã¾ãï¼ã
主ã«ãã®æ©è½ã使ã£ã¦è§£ãã¦ããã®ãfsã§ãã
ä¸æ¹ã§ãnon-flaggingï¼æç¡ãæ¦æ³ã以ä¸nfã¨ããï¼ãããã¾ããç§ã¯nfãã¬ã¤ã¤ã¼ã§ãã
ãã¤ã³ã¹ã¤ã¼ãã¼ã«ã¯éã²ã¼ãåå¨ãã¾ãã
âã®ãããªèªæãªãã®ãããã°ãã¨ã¦ãè¤éãªãã®ãããã¾ãã
ããã¯ã¨ã¦ãçä¸å°½ãªãã¨ã§ãã
ä»ã¾ã§é å¼µã£ã¦è§£ãã¦ããã²ã¼ã ããããªãéè«ççãªè¦ç´ ã«ãã£ã¦ä¸æãããã®ãè¯ããªãã§ããã
ã§ãããç§ã¨ãã¦ã¯ããã®éã²ã¼ã®åå¨ã«ãã£ã¦ããããè«ççã«è§£ãããããªç¤é¢ããã¡ãã¨è§£ãããªããã¨ã®æ¹ãåé¡ã ã¨æã£ã¦ãã¾ãã
ã©ããããã¨ãã¨ããã¨ãã¨ã¦ãè¤éã§ãããè«ççã«è§£ããã¨ããç¶æ ã®æã«ã絶対ã«éã²ã¼ãç¡ãã¨ããä¿è¨¼ãç¡ããã°ããã®æ¤è¨¼ã«ãããæéãæããã§éä»»ãã«ããã¦ãã¾ãã®ã§ãã
ããç¨åº¦ãã¤ã³ã¹ã¤ã¼ãã¼ããã£ã¦ãã人ã«ã¨ã£ã¦ããã®éã²ã¼ã®åå¨ã¯å½ããåã®ãã¨ã§ããã¨æãã¾ããããããéã²ã¼ãç¡ããã¨ãä¿è¨¼ããã¦ããã°ãã©ãã ãè«ççæèã«æéã使ããã¨ããæèãé«ã¾ãã§ããããã
Unambi Sweeper
ããã§ç§ã¯ãå¿
ãè«ççã«è§£ãããã¤ã³ã¹ã¤ã¼ãã¼ãä½ã£ã¦ã¿ã¾ããã
Unambiguousï¼ä¸¡ç¾©çã§ãªãï¼ã®ç¥ã§ããUnambi Sweeperãã¨åä»ãã¾ããã
KMCã¯ä»å¹´ã®å¬ã®ã³ããã¯ãã¼ã±ããC85ã® 3æ¥ç®31æ¥ï¼ç«ï¼è¥¿å°åºâãâãããã¯42b ã§ã²ã¼ã ãåé²ããCDã¨é¨èªãé å¸ããã®ã§ããããã®CDã«Unambi Sweeperãåé²ããã¦ãã¾ãã
ããç§ã«å
±æãã¦ãã ããæ¹ãããã°ãæ¯éãç«ã¡å¯ãä¸ããã
ãããã«
ãªãã ã話ãã¾ã¨ã¾ã£ã¦ããªãæ°ããã¾ããï¼fsã¨nfã¯ä½ã ã£ããã ï¼ãããã¯æéãç¡ãã£ãç§ã®æç« åã足ããªãããã§ãã
ç³ã訳ãããã¾ããã
ã¨ã«ãããå¤ãã®æ¹ã«ãã¤ã³ã¹ã¤ã¼ãã¼ãè«ççã«æ¥½ããã§ãããããè¯ããªã¨æãã¾ãã
ææ¥ã¯ pastak ããã® å¬ã³ãã®è©± ã§ãã