Â
35æ³ãã Python ã§ç«¶ãããå§ãã¦2å¹´ãçµã¡ã¾ãããããã£ã¨ AtCoder ã§æ©ã«ãªããã¨ãã§ãã¾ããï¼
Â
Â
ãµãã¼ãã³ã¡ã³ããããããé ããããã¨ããããã¾ããã
競ãããå§ãã¦2å¹´ããªãã¨ãæ©ã«ãªããã¨ãã§ãã¾ããã pic.twitter.com/r0GwrNogHi
â ãã (@kiri8128) October 31, 2020
Â
RTA éä¸çµé
æåã®Ratedããéã¾ã§ï¼3ãæï¼Rated 7åï¼
éããé»è²ã¾ã§ï¼7ãæï¼Rated 17åï¼
é»è²ããæ©ã¾ã§ï¼1å¹´3ãæï¼Rated 24åï¼
ï¼ï¼ï¼ï¼ï¼
Â
æ©ã¯ã ãã¶é ãåå¨ã¨ããå°è±¡ã ã£ãã®ã§ãéæã§ãã¦å¬ããã§ãã
ã¾ã ã¾ã ä¸ãç®æãã¦ããããã¨æãã¾ãããã²ã¨ã¾ãã®åºåãã¨ãã¦ããã¾ã§ã«ãã£ããã¨ãªã©ãæ¸ãã¦ããã¾ãã
Â
Â
ã¹ããã¯
- æ京é½å¤§å¦ã¨ããã¨ããã§9å¹´ã»ã© *1 æ°å¦ï¼ä»£æ°å¦ã»ä»£æ°å¹¾ä½å¦ï¼ãªã©ããã£ã¦ãã *2
- ç¾å¨ã®æ¼éã®ä»äºã¯ã¢ã¯ãã¥ã¢ãªã¼ *3 ãããããæ¥åããã°ã©ãã¼ã§ã¯ãªã
- 35æ³ã§ç«¶ãããç¥ã£ã¦ãããããå§ãã
- çµå©ã¯ä½åº¦ããåä¾ã¯1人ï¼åä¾ã®å¹´é½¢ â 競ããæ´ï¼
- 競ãããå§ããåã®ããã°ã©ã çµé¨ã¯ã趣å³ã§èªåç¨ã®ã¦ã§ããµã¤ãã£ã½ããã®ãä½ã£ãããã¦ãã®ã¨ãç·´ç¿ã§é«éç´ å æ°å解ã®ã¢ããªãä½ã£ã¦ãããã *4 ãæ¥åã§ã¯ Excel ã® VBA ã使ã£ã¦ãããã
- 競ããã§ä½¿ã£ã¦ããè¨èªã¯ Python / PyPy ï¼Python ã競ãããå§ããã®ã¨ã»ã¼åææã«å§ãã¾ããï¼
- åçæ°å¦ã»ããºã«ç³»ã¯æããå²ã¨å¥½ã *5
- 大å¦æ代ã¯ã塾è¬å¸«ã»å®¶åºæ師ã®ãã¤ãããã¦ã *6
Â
競ããer ã®ä¸ã§ã¯ãå¹´é½¢é«ãã»åæã¡ã»Python ã¦ã¼ã¶ã¼ãããããç¹å¾´ã§ãããã *7ã
Â
Â
ãã£ããã¨
Â
éã«ãªãã¾ã§ã«ãã£ããã¨
- éå»å
- Python ã®ææ³ã®åå¼· *8
- è»æ¬ã®ååããããæµãèªã¿ï¼å ¨é¨ã¯èªãã¦ãªãï¼
- BFSãDFS ãªã©ã®æ¯è¼çç°¡åãªã¢ã«ã´ãªãºã ã®åå¼·
- ãã¤ã¯ã¹ãã©ãªã©ã°ã©ãé¢ä¿ã¯ãç¥ã£ã¦ããã©ä½¿ãããªãã¦ããªãããã
ãã®é ã¯ãã¹ã¦ãæ°ãããã¨ã°ããã ã£ãã®ã§ãè¦ããã®ã楽ããã£ãã§ããããã¼ã¿æ§é ãã¢ã«ã´ãªãºã ãåé¡ã®çºæ³ã®ä»æ¹ã解ãæ¹ã®å ¸åãè¨ç®éã®èãæ¹ãªã©ãå¸åã§ãããã®ã¯ãªãã¹ãåãå ¥ããããã«ãã¾ããã
Â
é»è²ã«ãªãã¾ã§ã«ãã£ããã¨
- éå»å
- ã¢ã«ã´ãªãºã ã»ãã¼ã¿æ§é ã®åå¼·ï¼è»æ¬ãèªãã ããã³ã³ãã¹ãã§åºã¦ãããã®ã復ç¿ãããï¼
- ç°¡åãªã»ã°æ¨ãããã¾ã§ã¯ä½¿ããããã«ãªã£ã¦ã
- ããã¼ãªã©ã¯ç¥ã£ã¦ããã©å®è·µã§ã¯ä½¿ããªã
éãããããã¯ã¬ã¼ããä¸ããã«ãããªã£ã¦ãã¾ããç¹ã«ç§ã®å ´åã¯ãå¦ç¿ã«åãããã£ãããããããã©å¤åãæ¿ãã失æåã§å¤§ããã¬ã¼ããè½ã¨ããã¨ãå¤ãã£ãã§ãã解ããªãã£ãåé¡ã§ä½¿ããã¦ããèãæ¹ã復ç¿ãããªã©ãã¦ãå°ããã¤ã§ããç¯å²ãåºãã¦ããã¾ããã
Â
æ©ã«ãªãã¾ã§ã«ãã£ããã¨
- ABC åãï¼ããã¯é»è²ã«ãªã£ãå°ãå¾ã«çæéä¸ã§ããã¾ããï¼
- é©æ£é£æ度ã®åãï¼ã¾ã éä¸ï¼
- ä»äººã® Submission ã¨ã®æ¯è¼ãç¹ã«åè¨èªå ã§å®è¡æéã«å·®ãããå ´åãªã©ã«ãèªåã®ã³ã¼ãã®ã©ããæªãããç¹å®ãã
- æååé¢ä¿ã®ãã¼ã¿æ§é
- ã»ã°æ¨ã®æ½è±¡åãé 延ã»ã°æ¨ãå ¨æ¹ä½æ¨DPãªã©
- Grundy æ°ï¼é»è²å¾åã«ãªãã¾ã§ç¥ããªãã£ãï¼
- ACL ï¼ã ãããç¥ã£ã¦ããã©ã SCC ã¨ã CRT ãªã©ã¯ãã®ã¨ãæ´åããï¼
Â
é»è²ããã¯å§åçã« Rated ã³ã³ãã¹ããæ¸ãã¾ãããããæå³å®¶åºã¨ã®ãã©ã³ã¹ãåãããããªã£ãã®ã¯è¯ãã£ãã§ãããç²¾é²ã®ã¢ããã¼ã·ã§ã³ãä¿ã¤ã®ã¯é£ããã§ããã
èå³ã®ãããã¨ãç®æ¨ãããã¨æ¥½ããç¶ããããã®ã§ãããããåãããã¨ããããï¼ãã¼ã¿æ§é ãªã©ï¼ã履修ãããã¨ãã®ç®æ¨ãè¦ã¤ããã¨ç²¾é²ãæã£ãæ°ããã¾ãã Twitter ã§è°è«ããã¦ãããã¨ããé¢ç½ãã¢ã¤ãã¢ãªã©ã¯ãªãã¹ã試ãããã«ãã¦ãã¾ããã
Â
Â
ãªã³ãµã¤ãçµé¨
 ä¸è¨ã«åå ãã¾ãããã©ã¡ããã¨ã¦ã楽ããã£ãã§ãã
- 第ä¸åå ¨å½çµ±ä¸ããã°ã©ãã³ã°ç決å®æ¦ï¼æ¥çµã³ã³ï¼
- DDCC2020
Â
æ¥çµã³ã³ã¯ã¨ãã¸ãã·ã§ã³ã楽ããã£ãè¨æ¶ãããã¾ãã DDCC2020 ã¯æéãé·ãã£ãã®ããããããããã®æ¹ã¨ã話ãã§ãã¾ããã
ã¨ããã§ãDDCC2019 ãå®ã¯ééãã¦ããã¿ããã§ãããåå¿è ããã¦ã¡ã¼ã«ã«æ°ä»ãã¦ã¾ããã§ããã
ãæ²å ±ã
â ãã (@kiri8128) November 24, 2019
æ¨å¹´ã®DDCCã®äºé¸ééã¡ã¼ã«ãæªèªã§ç ã£ã¦ããã¨ã«ä»æ°ä»ããã
Â
ä½åé¢ä¿
é»è²ã«ãªã£ã¦ãã㯠yukicoder ã§ä½åã»ãã¹ã¿ã¼ãä½åº¦ããã¾ããã
ãã®ãããã§ããï¼ã¾ã ãã£ã¦ãªã人ã¯ãã²ãã£ã¦ã¿ã¦ãã ããï¼ï¼
- yukicoder contest 251 ï¼ããï¼
- Typical Game Contest ï¼ããï¼
Â
ä½åã¯ã解ãã®ã¨ã¯ã¾ãå¥ã®æ¥½ãããé£ãããããã¾ãããä¸ææã¯ã¨ã¦ãããã£ã¦ãã¾ãããç§ã®å ´å㯠Rated ãå°ãªãææã«ãã£ã¦ããã®ã§ãè¯ãæ°å転æã«ããªãã¾ããããã èªåã® Rating ãä¸ãããã¨ã ããèããã¨ãæ®éã«ç²¾é²ããã®ãå¹çãè¯ãæ°ã¯ãã¾ããã
Â
ä½åã»ãã¹ã¿ã¼ãããã¡ãªãã
- åºé¡ããåé¡ã®èãæ¹ããã®å¾ã®ã³ã³ãã¹ãã§åºé¡ãããã®ãå¤æ°è¦ã¦ãã¾ã *9ãä¼¼ãåé¡ãåºé¡ãããã¨ãã¯æå©ã«ãªãã®ã¯ééããªãã¨æãã¾ããï¼ããã¯éè¦ç´ ãããã¾ãããï¼
- åºé¡ããã¨ãã¯ã証æãªã©ãã¡ããã¨ããå¿ è¦ãããã¾ãï¼ããã¯ããï¼ãæ®æ®µã®ã³ã³ãã¹ãã 㨠AC ãåºãã° OK ã¨ããã¹ã¿ã³ã¹ã«ãªããã¡ãªã®ã§ããã£ããèããè¨ç·´ã«ã¯ãªãã¾ããã
- æç´è§£ã¨ã®ãã§ãã¯ãªã©ã®ä»çµã¿ãç·´ç¿ã§ãã¾ã *10 ã
- 誤解ã®ãªãåé¡æã«ãããæ£ããã¸ã£ãã¸ã§ããã¸ã£ãã¸ã³ã¼ãããã¹ãã±ã¼ã¹ãä½ãããªã©ã楽ããä½æ¥ã§ããã
- ãã¹ã¿ã¼ãåå¼·ã«ãªãã¾ãããæ®éã®ç²¾é²ã ã¨ãµãã£ã¦ãã¾ããã¨ãããã¾ããããã¹ã¿ã¼ãå¼ãåãããå¾ã«ã¯å¼ããªãã®ã§ãå°ãªãã¨ãæ å½ããåé¡ã«ã¤ãã¦ã¯èå¯ãæãã¨ããã®ãããã¾ãã
- ä½åè ã¨ãã¹ã¿ã¼ã§ç¸è«ã»è°è«ãããã¨ãããã®ã§ãä»ã®äººãã©ãããèãæ¹ãããã®ããã©ãããã¹ã¿ã³ã¹ã§åé¡ã«åãçµãã§ããã®ããªã©ãåãã£ãã®ãåå¼·ã«ãªãã¾ãããÂ
- åé¡ã®ä½ãæ¹ãã¸ã£ãã¸ã®ä»æ¹ããªãã¨ãªãåããã®ã§ãèªåãåå ããã³ã³ãã¹ãã§ãä½åè ã®æ°æã¡ã«ãªã£ã¦èãããã¨ã§ãã³ããå¾ãããããããã¾ããï¼ãã¶ãï¼ã
Â
ä½åã®ã³ãã»æ°ãä»ããç¹
- ããã¤ãæ°ãä»ããç¹ã¯ããã¾ãããä¸çªã¯è§£ã人ã楽ãããé¢ç½ãåé¡ãä½ãããã¨ããæ°æã¡ãããã¾ããã
- ãªã®ã§åé¡ã¨ãã¦æç«ãã¦ãã¦ããé¢ç½ãã¨æããªããã°ä¿®æ£ãèãããããã«ãããã¨ãå¤ãã§ãã*11
- å®è£ ã®è² è·ã ãã®é¨åã¯çç¥ãããã¨ããå®æ°åã§ãªãã¨ããªããããªãã®ã¯ãªãã¹ãæé¤ãããã¨ãããã¨ã¯åé¡æãç解ããããããï¼å¥ã®è§£éãã§ããªãããã«ããï¼ã¨ããã®ãå½ããåã§ãã注æãã¦ãã¾ããã
- ä½åã®æ¹æ³ã¯ã解æ³ããèããæ¹æ³ã¨ãåé¡è¨å®ããèããæ¹æ³ãããã¨æã£ã¦ãã¾ãã
- åé¡è¨å®ããèããæ¹ãé¢ç½ãåé¡ã«ãªããããæ°ããã¦ãã¾ãï¼æåã«é¢ç½ãã¨æããåé¡è¨å®ãèããã°è¯ãã®ã§ï¼ããã ãã®æ¹æ³ã ã¨è§£ããªãã¦åºé¡ã§ããªãå¯è½æ§ãé«ãã§ããããããªãã¿ã¼ã³ã試ãã¦ã¿ãããéã«è§£ããæ¡ä»¶ããéç®ããæãããã¨æãã¾ãã
Â
ç²¾é²é¢ä¿
ã¬ã¼ããä¸ããã®ã«ä¸çªå¤§äºãªã®ã¯æ¥ã ã®ç²¾é²ã ã¨æãã¾ããæ°ããç¥èãèãæ¹ãç¿å¾ãããã¨ã§ãå°æ¥ã®ããã©ã¼ãã³ã¹ã®æå¾ å¤ãä¸ãã¾ããç¹ã«æèããã®ã¯ãã®ãããã§ãã
Â
1. 復ç¿
ã³ã³ãã¹ãä¸ã«ãã£ã¬ã³ã¸ãããã©è§£ããªãã£ãåé¡ãã¡ããã¨å¾©ç¿ããã®ãã¨ã¦ã大äºã§ãããããããã¨ä¼¸ã³ãéããªã£ãæ°ããã¾ãã
復ç¿ãããã¨ãã¯ã次åä¼¼ããããªåé¡ãåºé¡ãããã¨ãã«ãã©ããã£ããæãã¤ããããèããªããããã¨è¯ãã¨æãã¾ããå ¨ãåãåé¡ãåºããã¨ã¯ãªãã§ããããªãã¹ãåºãç¯å²ã®åé¡ã§å¿ç¨ã§ããã¨å¬ããã§ããæãã¤ãããã®ãããªã¬ã¼ããããããå¼µãå·¡ããã¦ããã¤ã¡ã¼ã¸ã§ããããã
Â
2. ABC åã
æ°ãããªãã®ããã£ã±ã大äºãç¹ã«é©æ£ã¬ãã«ã®åé¡ãå ¸åãããããããã¨å®åã¯ä¸ããã¨æãã¾ããå ¨ç¶ã§ãã¦ãªãã§ããã
ABC åãã宣è¨ãã¦ããã¯ã ABC ããããã³ã«å ¨é¨éããªãã¨ãããªããªãã¾ãããããã¯ãªãã¨ãå®ã£ã¦ãã¾ããéå¬ããæ¦ã1é±é以å ãªãã»ã¼ãã¨ãããã¨ã«ãã¦ã¾ãã
ABCå ¨åãå®äºãã¾ããï¼æå¾ã®æ¹ã¯çµæ§è¦è¡ã§ãããããã¤ã解説ãè¦ã¦ãã¾ãã¾ããã許ãã¦ãã ããã
â ãã (@kiri8128) December 15, 2019
numpyãªãã®Python/PyPyã§ABCãåããã¨ããã®ãç®çã®1ã¤ã ã£ãã®ã§ããããªãã¨ãéæã§ããã¡ãªã¿ã«å®è¡æéå¶éã§å°ã£ãã®ã¯ã»ã¨ãã©ããã¾ããã§ããã pic.twitter.com/FLq760Fb5t
Â
ABC åãã¯èç¡ãå¤ãã®ã§ãããããããªãã¿ã¼ã³ã履修ã§ããã®ã§ããç¥ããªãã¦è§£ããªãã£ããã¿ãããªã®ãæ¸ãæ°ããã¾ãããã®ãããããã®å¾ã¯å¤§ããªå¤±æåãæ¸ã£ãæ°ããã¾ãã
Â
Â
3. é©æ£ã¬ãã«åã
é©æ£ã¬ãã«åããã¾ããã«ãã£ãã®ã¯ãå®ã¯ãããã®æ°ã ãã»ã»ã»ããã£ãã¨ããããããããã¾ããããã®ã¨ãã¯æ¯æ¥ã®æ¥èª²ã«ãªã£ã¦ããã®ã§éä¸ãã¦åãçµãã¾ãããã¢ããã¼ã·ã§ã³ã®ãã¼ãã«ãã¨ã¦ãè¯ãã£ãã§ãã
Â
#ãããã®æ°ã ãé»diff以ä¸RTã®æ°ã ãæ©diff以ä¸ã解ã
â ãã (@kiri8128) March 16, 2020
解ããããª
Â
ABC åããªã©ãç°¡åç®ã®ã¨ãããåããã®ã¯å¤±æåãæ¸ããå¹æãããã¾ãããé©æ£ã¬ãã«ï¼ãããã¯ææ¦ã¬ãã«ï¼ã®åãã¯å¤§æååãå¢ããå¹æãããã¨æãã¾ãã
 Â
4. ã©ã¤ãã©ãªæ´å
解ããªãã£ãåé¡ããåãã¦è¦ãæ¹æ³ãªã©ãããã°ã次ã«è¦ãã¨ãã«ããã«ä½¿ããããã«ã©ã¤ãã©ãªãæ´åãã¾ãããã®éãä»ã®äººã®ã³ã¼ããã³ããããã®ã§ã¯ãªããï¼åèã«ã¯ãããã¨ãããã¾ããï¼èªåã§ä¸ããæ¸ãããã«ãã¦ãã¾ãããããã«ãã£ã¦ä½¿ãæ¹ãããç¥ããããèªåã使ããããããã«ã«ã¹ã¿ãã¤ãºã§ãã¾ãã
ä»æã£ã¦ããã©ã¤ãã©ãªã¯å¾è¿°ãã¾ãã
Â
ã³ã³ãã¹ãä¸ã®ç«ã¡åã
åé¡ã解ãé çªãªã©
以åã¯æç´ã«åãã解ãã¦ããã®ã§ãããå¼·ã人ã並åã§èãã¦ããã¨ããä¾ãããã¤ãèããã®ã§ãæè¿ã¯è©°ã¾ã£ãã並åã£ã½ãèããããã«ãã¦ãã¾ãã以åã¯ä¸¦åã§ããã¨ãã®ãã¡1åã解ããã¨ãã«æéçã«ä¸å©ã«ãªãæ°ããã¦ããã®ã§ãããæ¡å¤ãã£ã¨åãåé¡ãèããããããããªåé¡ãè¡ãæ¥ããæ¹ãã¢ã¤ãã¢ãæµ®ãã¶ãã¨ãå¤ãã®ã§ãå¹çãæªããªãã¨æã£ã¦ã¾ããã ããããããªæãã
- åºæ¬ã¯åããè¦ã¦ãç°¡åãããªãããã«è§£ãã¾ã
- è©°ã¾ã£ããä¸åº¦é ä½è¡¨ãè¦ã¦è½ã¡çãã¾ã
- è¶ é«é£åº¦ä»¥å¤ã®åé¡ãçºãã¦ãããã«è§£ããããªãã®ãããã°ããã解ãã¾ã
- ããã«è§£ããããªãã®ããªããã°ä¸¦åã§ï¼æ°åãã¨ã«è¡ã£ããæ¥ããããªããï¼èãã¦ã解ãããã«ãªã£ããã®ããéä¸çã«èå¯ãã¦å®è£ ãã¾ã
- ã¡ãªã¿ã«ãããç¨åº¦ãããã§ãããï¼ãã£ã¦ãªã£ãããç´°é¨ãè©°ãã¦ãªãã¦ãã³ã¼ããæ¸ãå§ãã¾ãã詳細㯠print ãããã°ããªããè©°ãããã¨ãå¤ãã§ããï¼ã¨è¨ãã¤ã¤ããã®æ¹æ³ã¯ãã¾ãè¯ããªãã¨æã£ã¦ãã¾ããï¼
ãã¤ãæ¸ãå§ãã¦ãããããã°ããªããé·ç§»ãä½ã£ã¦ããã©ãäºåã«ç·»å¯ã«èãã¦é·ç§»ãä½ã£ã¦ããæ¸ãå§ããã®ãããã®ããªã
â ãã (@kiri8128) October 17, 2020 - ã㨠No Sub æ¤éã¯ããªãããã«ãã¦ãã¾ãããã®ããã«ããããããªä½æ¦ãèããåã«ã¾ã㯠1 Sub ããã¾ãã 1 Sub ããã¨éä¸åãä¸ããæ°ããã¾ããçæçã«ã¯ No Sub æ¦ç¥ãæå¾ å¤çã«ã¯é«ããã¨ãå¤ããããããªãã§ãããããã§æå¾ å¤ãä¸ãã人ã¯ä¼¸ã³ããããªã人ï¼åæ»ç¶æ ã®äººï¼ã ã¨æã£ã¦ãã¾ãã伸ã³ãããååã«ããã°å°ãã§ãåå ããæ¹ãä¸ãããããã®ã§ã
Â
ã¡ã¢
ã³ã³ãã¹ãä¸ã®ã¡ã¢ã¯ããã¼ãã«ææ¸ãã§æ¸ãã¦ãã¾ãã
èå¯ã¯çµµãå³ãå¤ãã§ããå ·ä½ä¾ã®è¨ç®ããã¼ãã«æ¸ããã¨ãå¤ãã§ãã
éä¸ã§å¾ãã²ããããèãæ¹ã¯ãã¡ã¢ã¨ãã¦æåã§ãæ®ãã¾ããå ´ååããã³ã¼ãã¼ã±ã¼ã¹ã«æ°ä»ãããããã®æ®µéã§åå²ããã¼ãã«ã¡ã¢ãã¾ãã *12
Â
é ä½è¡¨
主ã«ä¸è¨ã®ç®çã§é ä½è¡¨ãæ´»ç¨ãã¦ãã¾ãã
- åé¡ã§è©°ã¾ã£ãã¨ãã«è½ã¡çãããã«è¦ã
- é£æ度å¤æã®ããã«æ£è§£è æ°ãè¦ã
- åé¡æãããããæ°ãããã¨ããªã©ãæ¬å½ã«è§£ããã®ï¼ã¨ããæå³ã§å ¨ä½ã®æ£è§£è ã®äººæ°ãè¦ã¦ã¿ã
- Python ã ã¨ãã¤ããªãï¼ã¨æã£ãã¨ãã«ã Python ã¦ã¼ã¶ã¼ã® AC / ããç¶æ³ãè¦ã
- ä¾ãã° C ã¾ã§è§£ããã¨ãã«ã D ã解ããå ´åã®é ä½ã¨ E ã解ããå ´åã®é ä½ãæ¯ã¹ã¦ãæå¾ ããã©ããªãã¨ãªãäºæ¸¬ãã
- ãã¬ã³ãå ã§é«é£åº¦ãéãã¦ãã人ãããå ´åãªã©ã«ããã®äººããã®æéã§è§£ãã¦ããªãèªåã解ãããããã¿ãããªå¤æã®åèã«ãã
- ç¥ãåãã TL ã®ã¿ããªãé å¼µã£ã¦ããã®ãè¦ã¦å±ã¿ã«ãã
Â
ãã ããå°ãªãã¨ã1åã解ãã¦ããï¼æ®éã¯åãã解ãã¦ãã£ã¦è©°ã¾ã£ã¦ããï¼é ä½è¡¨ãè¦ãããã«ãã¦ãã¾ãã
ã¨ããã§ãã³ã³ãã¹ãä¸ã«ãé ä½è¡¨ã«ããã©ã»ã¬ã¼ããªã©ã®äºæ¸¬ããã¦ãããã¦ã¼ã¶ã¼ã¹ã¯ãªãããããã¨èãããã¨ãããã¾ãããç§ã¯ä½¿ã£ã¦ãã¾ããããã¶ãæ°ã«ãªã£ã¦éä¸ã§ããªããªã£ã¦ãã¾ããããªã®ã§ã
Â
ç²¾ç¥é¢ã®ã³ã³ããã¼ã«
é ã使ãã²ã¼ã ãªã®ã§ãèªåã®ç²¾ç¥é¢ã®ã³ã³ããã¼ã«ã大äºã ã¨æã£ã¦ãã¾ãã
Â
å·éã«ãªããã¨
åé¡ã解ããªãã¦æ ã¦ã¦ãã¾ã£ãããé¢ä¿ãªãèå¯ã«æéãåããã¦ãã¾ã£ãããåé¡é¸æã極端ã«ãã¹ã£ã¦ãã¾ã£ããããªã©ã¯æ¸ããããã§ããç·å¼µæãä¿ã¡ãªããããã¤ãããéãããããªãããã«æè»ã«ç«ã¡åãã®ã大äºã ã¨æãã¾ããÂ
Â
çæ³ã»ãã¾ããªã
ã³ã³ãã¹ãåã«ãéä¸åãé«ããããã«çæ³ããã¾ããçæ³ã¨è¨ã£ã¦ãé«åº¦ãªãã¨ããã訳ã§ã¯ãªãã軽ãç®ãéãã¦æ·±å¼å¸ãããããã§ããããããã¦é å»ããã¨ã¾ããã®ã§ãå¼å¸ã®åæ°ãæ°ãã¦ãã¾ããç§ã®å ´å15ç§ãããã§1åæ·±å¼å¸ã§ããã®ã§ã1ååããå§ããã¨2ï½3åæ·±å¼å¸ããã°è¯ãã§ãã
ãã¨ããã¯åã«ãã¾ããªãã¿ãããªãã®ã§ãããã³ã³ãã¹ãç´åã«ç®è¬ãå·®ããã¨ãå¤ãã§ããç·å¼µãã¦ç®ãä¹¾ãã®ãæããã¨ããã®ãããã¾ãããã³ã³ãã¹ãåã«å¿ ããããã¨ã決ãã¦ããã¨ããããããªã¬ã¼ã«ãªã£ã¦éä¸åãä¸ãããã¨ãã§ããããããã¾ããã
Â
èªåã®å®åãä¿¡ãããã¨
ã³ã³ãã¹ãä¸ãææ¦ããåé¡ã¯ã絶対解ããï¼ãã¨ä¿¡ãã¦ææ¦ãã¾ãã
AGC 400 ã§è©°ã¾ã£ãã¨ãã«ç¦ããªãããã®èãæ¹ã®ç·´ç¿ï¼ããã¼ã¼ï¼ä¿ºã¯é»ã³ã¼ãã¼ã ãã 700 ããããã解ããããªããªã 150 åãããã° 1000, 1100, 1300 ã®ãã¡1åãããã¯è§£ããã¯ãã 400 ãå¤å°é ãã¦ããªããåé¡ãã¼ãã ããã
â ãã (@kiri8128) May 22, 2020
Â
ã¡ãªã¿ã«ã³ã³ãã¹ãæã®é£²é£çã¯ããè¶ã®ã¿ã§ãã
æ é¤ããªã³ã¯ã飲ãã ãããã§ã³ã¬ã¼ããé£ã¹ãããã人ãããããã§ããããã¤ãã¨åãç¶æ ã§è¨ãã®ãç§ã«ã¯åã£ã¦ãæ°ããã¾ããã³ã³ãã¹ãä¸ã¯ã¨ã¦ãéä¸ããç¶æ ã«ãªãã®ã§ãç¹å¥ãªã¢ã¤ãã ããªãã¦ãéä¸ãåãããã¨ã¯ã»ã¨ãã©ããã¾ããã
Â
Â
Â
FAQ
Q: 競ãããå§ãããã£ããã¯ï¼
A: 社å ã§ãã£ã¦ã人ã宣ä¼ãã¦ãã¦ãèãã¦ã¿ãã¨é¢ç½ããã ã£ãã®ã§å§ãã¦ã¿ã¾ããã
Â
Q: ã³ã¼ãã£ã³ã°ç°å¢ã¯ï¼
A: Jupyter Notebook ããã©ã¦ã¶ã§éãã¦ä½¿ã£ã¦ã¾ããåä½ãã¹ãã¯ç°¡åãªã®ã¯æå ã§ããã¾ãããå ¥åãå¢ãã㨠paiza.io ã§ãã¹ãããããã¦ãã¾ããå¦çæéãé·ããªããããªã®ã¯ PyPy ã使ãã AtCoder ã®ã³ã¼ããã¹ãã使ãã¾ãã
Â
Q: ã¹ããããã¯ä½ç»é²ãã¦ãï¼
A: ãã使ã£ã¦ãªãã§ããä½ããããããã®ï¼
Â
Q: Python ã§åå ããã®ã¯ãã ãããããã®ï¼ä»å¾ã使ãç¶ããäºå®ï¼
A: æåãã£ãã®ããã¾ãã¾ Python ã ã£ãã®ã§ãã®ã¾ã¾æ°æ§ã§ä½¿ã£ã¦ããã¨ããã®ãæ£ç´ãªã¨ããã§ããã§ãã¾ã使ã£ã¦ããã¨æçã湧ãã¦ããã®ã§ãããã«å¤ãããã¨ã¯ä»ã®ã¨ããæã£ã¦ãã¾ãããææ³ãç´æçã§ãããã«æ¸ããã®ã§ã競ããã«éããæ¸ããããè¨èªã ã¨æã£ã¦ãã¾ãã
ç§ãå§ããã¨ã㯠Python ã§ä¸ä½ã®äººãå°ãªãã¦ãåèã«ã§ããã³ã¼ããå°ãªãã¦å°ã£ãã®ã§ãããä»ã¯ Python 使ãã®ä¸ä½å±¤ãå¢ãã¦ãã¦ãã¾ãããéã«ä»ã® Python ã¦ã¼ã¶ã¼ã®æ¹ã«å°ãã§ãåèã«ãªãã³ã¼ããæ¸ãããæ å ±ãçºä¿¡ã§ããã°ã¨æã£ã¦ãã¾ãã
å®è¡é度ãé ãã¨è¨ããããã¨ãããã¾ããã AtCoder ã«éã£ã¦è¨ãã°ã Python 㨠PyPy ã使ãã°ç§ã解ããã¬ãã«ã§å°ããã¨ã¯ã»ã¼ãªãã§ã *13ã
Â
Q: Numpyã Cython ãªã©ã¯ä½¿ããªãã®ï¼
A: ä»ã®ã¨ããäºå®ã¯ãªãã§ãã PyPy ã§ååã«å¯¾å¿ã§ããã¨æã£ã¦ãã¾ãã
Â
Q: åä¾ãããã¨ç²¾é²ã¤ãããªãï¼
A: 家åºãããã¨èª¿æ´ãå¿ è¦ãªã®ã¯ããã¯ããã§ããä»ã®ã¨ããã³ã³ãã¹ãçã«ç解ã示ãã¦ããã¦ããã®ã§ããã¯ãããããã§ããç²¾é²ã¯æ·±å¤ã«ãããã¨ãå¤ãã®ã§ç´æ¥ã¯ãã¾ããã¶ããªãã§ãããåæ¥ã®å¤ã®ã³ã³ãã¹ãã¯ããã¤ãããã¨ãããã¾ãããã åä¾ã»å®¶åºã«éãããå¦çã社ä¼äººãã¿ããªçæ´»ã®ä¸ã§ãããããã¦åå ãã¦ããã¨æãã®ã§ãã§ããç¯å²ã§ãããããªãã®ããªã¨æãã¾ããæéã®ããããã¨ããç¹ã§ã¯ãèªåã®ä¸ã§ã¯ãã©ãµãã®åªå é ä½ã¯ããä¸ãã¦ã家åºãä»ã®ç¨äºãããã°ãã£ã¡ãåªå ãããã¨ã«ãã¦ãã¾ã *14 ã
div3 << ECR < div2 < div1 < ABC < GCR <<< ARC â AGC
â ãã (@kiri8128) September 24, 2020
Â
Q: ä»äºã¨ã®ä¸¡ç«ã¯ã©ããã¦ãï¼ï¼
ä»äºã¨ã®ä¸¡ç«ã¯ã©ããã¦ã¾ããï¼ï¼
â ã®ãã¿ (@noimi_kyopro) October 31, 2020
A: ä¸ã¨ä¼¼ã¦ã¾ããã社ä¼äººãªã®ã§æ¥åæéä¸ã¯ä»äºãããããå¾ãªãã§ãã家åºã¨éãã®ã¯ããã¡ãã®åªåã§ã©ããããããªããã¨ãå¤ãã®ã§ãããæå³è«¦ããã¤ãã¾ãã
Rated ã«åºããªãçç±ãä¸çªæ²ããã®ã¯ã©ãï¼
â ãã (@kiri8128) October 29, 2020
義åçãªæ¹ãæ²ããã®ããªã
â ãã (@kiri8128) October 29, 2020
ï¼ç§ã¯ã©ããã¦ãä»æ¹ãªãç¨äºã®æ¹ã諦ããã¤ãæ°ããããã©ãï¼
Â
çæ´»ãé¤ãã¦ã使ããæéã®ä¸ã§é å¼µãã¨ããã®ã¯åãã ã¨æãã¾ãã
ã²ã¨ã¤æããªã®ã¯ã社å ã«ã競ããããã£ã¦ãã仲éãããããããã®ã¯ã¢ããã¼ã·ã§ã³ã®ç¶æã«ãã¤ãªãã£ã¦ãããããã§ã *15 ã
社å ã«ã©ãããããããã¨ããä¼ç¤¾ã®ç¹å®ãããã人ã¯ãã®ããããè¦ãã¨åãããããããªãã§ãã
ã¡ããã¨æ¸ãã¦ã¾ããã§ãããã PG Battle 2020 ã¯ä¼æ¥ã®é¨ã§10ä½ã§ãããæ¨å¹´ã¯ãããããã¹ã£ã¦ããã¼ãçµæã ã£ãã®ã§å¬ããã§ããã¡ãªã¿ã«ã失ç¹ã¯ãã¹ã¦ç§ã§ããããããªããã
â ãã (@kiri8128) October 31, 2020
ï¼å¼ç¤¾ããã¯3ãã¼ã åºã¦ã¾ãããä¼¼ããããªååã®ãã¼ã ã3ã¤ããã®ã§ãªãã¨ãªãåããã¨æãã¾ããï¼
Â
両ç«ã¨ããæå³ã§ã¯ãä»äºï¼ã¨å®¶åºï¼ãçµãã£ãããå¤é ãã¦ããªãã¹ãç²¾é²ãå°ãã¯ããããã«ã¯ãã¦ãã¾ãã
ã©ããã¦ãä»äºãå¿ããã¦ãã¤ãææã¯ãç²¾é²ãæ°æ¥ãä¼ã¿ãããã¨ãããã¾ããããã®ç¹ã§ã¯èªåã責ããªãããã«ãã¦ãã¾ããèªåã®ãã¼ã¹ã§ãã§ããã¨ãã«ããã®ãè¯ãã¨æãã¾ãã
Â
Â
Q: å¹´é½¢çã«ç²¾é²å³ãããªãï¼ãã£ã¨æ©ããã競ããããã£ã¦ããã¨æãï¼
A: ãããã«ãã£ã¨æ©ãå§ãã¦ãã°ãã£ã¨æé·ã§ããã®ããã¨ããã®ã¯æããªãã¯ãªãã§ããã§ãç¥ããªãã£ã *16 ãããããããªãã§ããç§ã®å ´åã20代ååã20代å¾åã30代ååã30代å¾åã¨ããããã趣å³ã»çæ´»ã»è·å ´ã»å®¶æãªã©å ¨ãéããã®ã«ãªã£ã¦ãã¦ãã¾ãããã©ã®ææãããã¨æ¥½ããã§ãã¾ããå°ãªãã¨ã30代å¾åæã¯ç«¶ããã大ããªæ¥½ãã¿ã®ã²ã¨ã¤ã«ãªã£ã¦ããã®ã¯ééããªãã¦ãããã ãã§ã¨ã¦ãæºè¶³ã§ãã
å¹´é½¢ã®æå©ä¸å©ã§è¨ãã¨ãç§ã®å ´åãå¹´ãåã£ã¦æããã«è¡°ããã®ã¯ãç´ã®ä¸ã§ã®è¨ç®åã§ã *17 ããã ãã®ä»ã®é¨åã§ã¯å¤§ããä¸å©ã«ãªã£ã¦ãããã¨ã¯ãªãã¨æã£ã¦ãã¾ããéã«æå©ãªç¹ã¨ãã¦ã¯ãåç代æ°å¦ãªã©ã¯ä¸éãå¦ãã ãã¨ã«å§ããããã®ã§ãã®é¨åã§ã¯è©°ã¾ãã«ããã£ãã¨ããã®ã¯å°ãããããããã¾ãã *18ã
競ããã®æ績ã¯ã³ã³ãã¹ãã®çµæããã¹ã¦ãªã®ã§ãå¹´é½¢é¢ä¿ãªãå¹³çã«æ¥½ãããã²ã¼ã ã¨ãè¨ããã¨æãã¾ãããã®æå³ã§ã¯ãããé«å¹´é½¢å¸¯ã§ãåå ¥ããããã®ããããã¾ãããè¥ãæ¹ã«è² ããªãããã«é å¼µãããã¨æãã¾ãã
Â
Q: ä»å¾ã®ç²¾é²ã®äºå®ã¯ï¼
A: æ£ç´ãç°¡åã«ã§ãããã¨ã¯ããç¨åº¦ãã£ã¦ãã¾ã£ãæããããããããããã«ã¬ã¼ãã伸ã°ãã®ã¯ããã¾ã§ããæ ¼æ®µã«é£ãããªãã¨æã£ã¦ãã¾ãããã ããã§æºè¶³ãã¦ãã¾ã£ããæé·ã¯è¦è¾¼ããªãã®ã§ãèªåã«è¶³ãã¦ããªãã¨ãããå¼·åãã¦ããããã¨æãã¾ããä¾ãã°
- åãï¼ç¹ã«æ© Diff åå¾ãå ¨ç¶åã¾ã£ã¦ãªãï¼
- èãæ¹ã®æ´çï¼ãã¤ãããªãæè¦ã§è§£ãã¦ãã®ã§ãä½ç³»çã«èããããããã«ãªãããï¼
- æ£ç¢ºæ§ï¼ç«å¼ã証æãããããªãã¨ãªãã³ã¼ããæ¸ãå§ãã¦ãã¾ãã®ã§ãæ·»ãåãªã©ãå«ãã¦ã¡ããã¨ç解ãã¦ããæ¸ãå§ããã¨ç²¾åº¦ãä¸ããã®ããªã¨ãã¯æã£ã¦ãã¾ãï¼
- é«é£åº¦ã®ã¢ã«ã´ãªãºã ã®å±¥ä¿®ï¼ç´è¿ã§å°ã£ãã®ã ã¨ãé«éã¼ã¼ã¿å¤æã»ã¡ãã¦ã¹å¤æã 3^n DP ãªã©ããã¨ææ°åæ¯é¢æ°ã¨ããã®ãæè¿ç¥ãã¾ããããä»å¾å±¥ä¿®äºå®ã§ãï¼
- èå¯ã»å®è£ ã®ã¹ãã¼ãã¢ããï¼ä»ã®å®åã ã¨ãã¹ã ã¼ãºã«è§£ãã¦ããã1å解ãã®ã¯æéçã«ãã¤ããã¨ãå¤ãï¼
ãããã¯ã¾ã å ¨ç¶ã§ãã¦ããªãã®ã§ãå°ããã¤ãã£ã¦ããããã¨æã£ã¦ãã¾ãã
Â
Â
Â
ãã¾ãï¼ã©ã¤ãã©ãª
æ®æ®µä½¿ã£ã¦ããã©ã¤ãã©ãªã®ãªã¹ãã§ããâ²ã¯é»è²ã«ãªã£ã¦ããæ´åãããã®ãâ ã¯ä½¿ã£ããã¨ããªããã¾ãã¯åºã¦ã使ããæ°ãããªããã¤ã
Â
ã©ã¤ãã©ãªã¯ä»äººã®ã³ããã¯ãã¾ãããããªãã®ã§ãåèã«ãããã¨ã¯ãã£ã¦ãããªãã¹ãèªåã§æ¸ãããã«ãã¦ãã¾ãã
ç§ã¯ä»äººã®ã³ã¼ã丸ã ã³ãã¼ããã®ã¯èªåã®ããªã·ã¼çã«ã¯ãããããªããã©ãä¸èº«ãç解ãã¦èªåã§ä¸ããæ¸ãã°OKã¨ããã¹ã¿ã³ã¹ã§ãã£ã¦ã¾ãã
â ãã (@kiri8128) August 28, 2020
Â
Â
ï¼ä¸è¬ï¼
- éä¹ã®åè¨ç®
- è¡åç´¯ä¹
- å°æ° â åæ°
- Mod P â åæ°
- Permutation â ID
- â² èªä½ä¹±æ°
- â² popcount, popcount_parity *19
- â² å¤åé·æ´æ°ã®å¹³æ¹æ ¹ã N ä¹æ ¹
- â² 01 Vector Space
- â² å¯å¤é·ã«ã¼ã *20
- â² ã¹ã©ã¤ãæå°å¤
- â² CRT *21
- â æé·åæåå¾
- â Tonelli_Shanks
- â Li Chao Tree ï¼ç°¡åãªãã¤ï¼
Â
ï¼ç´ æ°é¢ä¿ï¼
- ç´ å æ°å解
- ç´ æ°åæ
- Next Prime
- â² Next NTT-Friendly Prime
- â² Euler ã® Totient Function
- â² åå§æ ¹
- â² éä¹ mod ç´ æ°ï¼O(âP) åã®å¤åé·æ¼ç®ã®ã㤠*22ï¼
- â² ï¼å®ï¼æ´æ°ã®ã¬ã¦ã¹æ´æ°ã§ã®ç´ å æ°å解
Â
ç´ å æ°å解ã¯ãã©ã¼ãã»ãã¼ã§ä¹±æ O(N1/4) ã®ã㤠*23ãç´ æ°å¤å®ã¯ãã©ã¼ã»ã©ãã³ãç´ æ°åæã¯ã¨ã©ãã¹ããã¹ã
Â
ï¼ç³ã¿è¾¼ã¿é¢ä¿ï¼
- â² Python ã®å¤åé·æ¼ç®ã§ããç³ã¿è¾¼ã¿ *24
- â² NTT
- â² ä»»æ mod NTT *25
- â è¤ç´ æ° FFT
- â² ã¼ã¼ã¿å¤æãã¡ãã¦ã¹å¤æãã¢ããã¼ã«å¤æ
Â
ï¼æååé¢ä¿ï¼
- Z Algorithm
- KMP
- SA-IS
ããªãã¯ã©ã¤ãã©ãªã«ãªã£ã¦ãªãã®ã§ãæ¯åæã§æ¸ãã¦ãã
Â
ï¼ã°ã©ãé¢ä¿ï¼
- BFS
- Union Find
- â é¨åæ°¸ç¶ Union Find
- æ¨ã®ãããã¸ã«ã«ã½ã¼ã
- â² æå°å ¨åæ¨
- æ¨ã®æé ç¹ã»éå¿
- â 2é¨ã°ã©ãå¤å®
- Dijkstra
- â ã¯ã¼ã·ã£ã«ã»ããã¤ã
- â ãã«ãã³ã»ãã©ã¼ã
- LCAï¼ãããªã³ã°ãTarjanï¼
- Euler Tour
- â² å ¨æ¹ä½æ¨DP *26
- â² SCC
- â åºéã«è¾ºãè²¼ãä¸è¬çãªãã¯
- â HLå解 *27
Â
æ¨ã®åé¡ã¯åºæ¬çã«ããã½ãã¦è§£ã *28ãæ¨ä»¥å¤ã®ã©ã¤ãã©ãªã¯ãã¾ãã¡ã§ãDAGã®ããã½ãããªãï¼ã©ã¤ãã©ãªæ´åããã¨ãã«ã¯æ¨ããèãã¦ãªãã£ãã®ã§ï¼ã
Â
ï¼ã»ã°æ¨é¢ä¿ï¼
- BIT
- ã»ã°æ¨
- â² é 延ã»ã°æ¨
- â² å対ã»ã°æ¨
- â Beats *29
Â
ã»ã°æ¨é¢ä¿ã¯ãæåã¯ç¨éï¼ã1ç¹æ´æ°åºé max åå¾ãã¨ãï¼æ¯ã«ä½ã£ã¦ãããã©ãæè¿ã¯æ½è±¡åãããã¤ã使ãåãã¦ããã¨ãå¤ãã
ãã¨æè¿ã¯ Monoid Check æ©è½ã¨ããå ¥ãã¦ã *30ã
Â
ï¼ã²ã¼ã é¢ä¿ï¼
Â
ï¼ããã¼é¢ä¿ï¼
- Max Flow
- â Min Cost Flow
Â
Min Cost Flow ã¯ã¡ããã¨ã§ãã¦ãªãã®ã§ Python ã® Networkx ã使ããã¨ãå¤ãã
Â
ï¼å¹³è¡¡äºåæ¨ãã©ãï¼
- ä¾ã®å¹³è¡¡äºåæ¨ãã©ã *32
ãã°ãããã¨ææããã¦ããã¾ã ä¿®æ£ã§ãã¦ãªãæ°ãããã
赤é»æ¨ã¯ããã¶ãåã«ãããã¨ãããã©ä½ãããã§æ¢ã¾ã£ã¦ãã
Â
ï¼ãã®ä»ï¼
Â
Â
Â
*1:ç¹ã«æå³ã¯ãªãã§ããã 7+2=9 ã¨ããå¼ãæ¸ãã¦ããã¾ã
*2:ã§ããã¨ã¯è¨ã£ã¦ãªã
*3:ç¾å¨ã¯æ±ºç®é¢ä¿ã®é¨éã§ã8人ãããã®ãã¼ã ã®ããã¼ã¸ã£ã¼ããã¦ã¾ã
*4:ãã©ã¼ãã»ãã¼ã使ããã¤ã§ããã¢ã³ããã¤ãéå®ã ãã©ããç´ æ°é»åãã§æ¤ç´¢ãã¦ã
*5:æ°ãªãªå¢ã»ã©ã§ã¯ãªãã§ããæ°ãªãªã¯åå¨ãããç¥ããã§ãã
*6:ãªã®ã§é«æ ¡æ°å¦ã®æçæã¯ã大å¦ã«å ¥ã£ã¦ããã ã¨æãã¾ã
*7:å¹´é½¢ã§è¨ãã¨ããã®è¨äºã®å·çæç¹ã§ AtCoder ã«ç»é²ããã¦ããä¸ã§ã¯æ©ä»¥ä¸ã§å½å æå¹´é·ã¿ããã§ããå¹´ä¸ã ã¨åãã¨ããã訳ã§ã¯å ¨ããªãã®ã§ãã¿ãªããæ°è»½ã«ä»²è¯ããã¦ãã ãã
*8:Python ã®ææ³ã¯ã主ã«ä»äººã® Submission ãè¦ãªããå°ããã¤è¦ããæãã§ããä½ç³»ç«ã¦ã¦åå¼·ã¯ãã¦ããªãã®ã§ãæè¦ã§ãã£ã¦ããã¨ãããå¤ãã§ãã
*9:ä¸çªè¦ãã®ã¯ Typical Game Contest ã®Bï¼ã¨Fï¼ã®èãæ¹ãæ¨ã®ä¸ã®å±±ã®å¾åã®èãæ¹ãä½åº¦ãããã¾ããã
*10: Rated ã³ã³ãã¹ãã§ã使ããã¨è¯ãã®ã§ãããä»ã¯ãã¾ããã¾ã使ãã¦ããªãã¨æãã¾ã
*11:ãé¢ç½ããã®åºæºã¯å²ã¨ä¸»è¦³ã ã£ãããã¾ãã
*12:ãããªæã㧠if æã®åå²ãã¡ã¢ãã¦ããããã«ãã¦ãããã³ã¼ãã¼ã±ã¼ã¹ã§ãã¹ããã¨ãæ¸ã£ãæ°ããã¾ã
*13:赤ã«ãªããã¨ããã¨ã©ããã¯ã¾ã åããã¾ãããããããããããããã«ããã¯ã«ãªããã¨ã¯ãªãã¨æã£ã¦ãã¾ã
*14:ä»å¾ã¯ ABC ã¯å°ãåªå 度ãä¸ããããã§ã
*15:Unrated ã® ABC ã«åºç¶ããã®ãã社å ã§åºã¦ãã人ãå¤ãããã¨ããã®ã大ããã§ã
*16:ã¨ãããç§ãå¦çã®ã¨ãã¯ç«¶ããèªä½ãããããªãã£ãï¼
*17:ããã¯å¤§å¦å ¥è©¦ãããããå ¥å¦å¾ã«å®¶åºæ師ã»å¡¾è¬å¸«ããã¦ããã¨ããæçæã§ããããã®å¾ä½å¹´ã触ã£ã¦ããªãã¨æ£ç¢ºããã¹ãã¼ãã¨ãã«å¤§ããä¸ãã£ã¦ãã¾ããããããé·ããã¨ãã£ã¦ãªãã£ãã®ãåå ãªã®ã§ãå¹´ã®ããã¨ããã®ã¯å¿ ãããæ£ãããªãããã§ãã
*18:ä¾ãã° mod ã®éå ãä¹æ³ç¾¤ãªã©ãèªç¶ã«ç解ã§ããã®ã¯ä¸è¬ã®ä¸é«çããã¯æå©ã ã£ãããããã¾ãããã¨ã¯ãã競ãããããä¸é«çã¯ç°è«ã»ä½è«ãããä½è£ã§å±¥ä¿®ãã¦ãããããã®ã§é©ãã¾ãã
*19:16 bit ç¨ã 64 bit ç¨ã 65535 bit ç¨ãªã©ããããé·ãã¨ã«ä½¿ãåãã¦ãã¾ã
*20:i çªç®ã®ã«ã¼ãå¤æ°ã®çµäºæ¡ä»¶ãæå®ãã¦ã«ã¼ã
*25:ä»»æ mod ã¨è¨ã£ã¦ããç´ æ°3ã¤ä½¿ããã¤ã§ãã競ããã§åºã¦ããç³ã¿è¾¼ã¿ã¯ãè¦ç´ ã®æ大å¤ã 10^9 ç¨åº¦ãè¦ç´ æ°ãæ大 10^6 ç¨åº¦ãªã®ã§ã 10^24 ç¨åº¦ã¾ã§ããã°ååã§ãããã㯠10^9 ç¨åº¦ã®ç´ æ°ã3ã¤ä½¿ãã°ååã§ããã¡ãªã¿ã«ãå¿ è¦ãªæ大æ´æ°ãä¸ããã¨ããã®3ä¹æ ¹ãããã® NTT Friendly ãªç´ æ°ã®æ å ±ãè¿ãé¢æ°ãä½ã£ã¦ãã¾ãã
*27:log ã2ã¤ä»ãã¨èãã¦ãã¾ã使ã£ã¦ãªã
*29:æåé¡ã®ãã¹ã¿ã¼ãããã¨ãã«ã Beats ãªãè²¼ãã ããããªãï¼ã¨æã£ã¦è©¦ãã¦ã¿ãã¨ãã«ä½¿ã£ãã ã
*30:çµååãä½ç¨ã®æ¡ä»¶ãªã©ãæºãããªãã¨æãã¦ããã¾ã
*31:é·ç§»ãå ¥ãã㨠Grundy æ°ã®ãªã¹ããåºã¦ããããã«ãã¦ãã¾ã
*33:ååããã®ããã©ã¼ãã³ã¹ã®ãªã¹ããå ¥ããã¨ã¬ã¼ãæ¨ç§»ãè¿ã