æ¯å¹´12æã«éå¬ããã¦ãã Advent of Code ã«ã2019å¹´ããåå ãã¦ããã
éå»è¨äº:
- Advent of Code 2019 に挑戦している - すぎゃーんメモ
- Advent of Code 2020 完答した - すぎゃーんメモ
- Advent of Code 2022 を完走した - すぎゃーんメモ
2023å¹´ã®Advent of Codeã«ãææ¦ãã¦ãã¦ãå¹´ãæãã¦ãã¾ã£ããå æ¥ãããã25æ¥ãã¹ã¦ã®åé¡ã«è§£çã㦠50 åã®ã¹ã¿ã¼ãéãããã¨ãã§ããã
2023å¹´ã¯ä¾å¹´ã¨æ¯è¼ãã¦ãé£æ度ãé«ããã®ãå¤ãã£ãããã«æã(è±èªã®ã¹ãã¼ãªã¼ãèªè§£ããããªããã®ã¯æ¯å¹´ã®ãã¨ã ã)ã ãã¡ãããä»ã®äººã®è§£çãè¦ããããã«ã¾ãã¯èªåã§åçãããã¨ããç®æ¨ã¯éæãã¦ã¨ããããã®èªåå®çã¯ã§ããããæ£ç´ã©ãããã®ãæ£ããã£ãã®ãåãããâ¦ã¨ãããã®ãå¤ãã£ãã
ãããã Reddit ã§ã®è°è«ãè¦ããä»ã®è¨èªã§ã解ãã¦ã¿ãããã¦ãããã¡ãã£ã¨åå¼·ãã¦ãããã¨æã£ã¦ããã¨ããã
åé¡ã®æ¦è¦ã¨è§£ããææ³
ãã¿ãã¬ããªãç¨åº¦ã«ã
day01
è¡ã®æååã®ä¸ããæ°å¤(æ°å¤)ãè¦ã¤ããã
1æ¥ç®ã®å°æ調ã¹ã«ãã¦ã¯part2ãã¡ãã£ã¨é¢åã ã£ã
day02
3è²ã®ç³ã®æ°ãæ¨æ¸¬ããã²ã¼ã ã
æ£ããå ¥åãparseãã¦å¦çã§ããã°ç¹ã«åé¡ãªã
day03
2次å ã®å³ã§ã¯ããã横ã«ä¸¦ã¶æ°åã¯æ°å¤ã¨ãã¦è¦ãå¿ è¦ããããã¨ãããã®ã
æ°å¤ã¨è¨å·ã®ä½ç½®é¢ä¿ããã¾ãå¤å®ã§ããã°ãã¨ããæã
day04
ã¹ã¯ã©ããã«ã¼ãã®å¾ç¹è¨ç®ã
part2ã¯AoCãããã¡ã¿ãªæãã§ã¡ãã£ã¨é ã使ãé¢ç½ãåé¡
day05
æ°å¤ã®ç¯å²ããå¥ã®ç¯å²ã¸ã®ãããã³ã°ããç¹°ãè¿ãã
æ¥ã«é£æ度ãä¸ãã£ã¦å¤§å¤ã ã£ãâ¦ï¼
day06
ãã£ã¼ã¸æéã調æ´ãã¦ãã¼ããé²ããè·é¢ãäºæ¸¬ããã
å ¥åã®ãã©ã¼ããããä¸èªç¶ã ã£ãã®ã¯æå³ããã£ããâ¦
day07
ãã©ã³ãã®ãã¼ã«ã¼ã®å½¹ã®å¼·ãã§ã½ã¼ãããã
ã¾ããã¦ãpart2ã®å±éãäºæ¸¬ã§ããªãã£ã
day08
2åå²ã®è¿·è·¯ãæå®ãããæ¹åã«ç¡éã«é²ã¿ç¶ããã
part2ããã¯ãå°ãé£ãããå ¥åãä¸æãä½ããã¦ãããã¨ã«æããã¦ããæã
day09
æ°åããå·®åã使ã£ã¦æ¬¡ã®å¤ãäºæ¸¬ããã
ã¹ãã¨è§£ããã¨æ°æã¡è¯ã
day10
2次å gridå ã§ã«ã¼ãããçµè·¯ãæ¤åºã
part2ã¯ã ãã¶è¦å´ãã⦠çè«ãç¥ã£ã¦ããã°ãã£ã¨ç°¡åã ã£ãã®ã ããã
day11
è¨å¼µãç¶ããå®å®ç©ºéã§éæ²³éã®è·é¢ãæ±ããã
ããã¯part2ã¯ãããªãã ãããªãã¨ããã®ãäºæ³ã§ãã
day12
ã¤ã©ã¹ããã¸ãã¯çãªãã®ã
ããããæ¢ç´¢ã®å®è£ ãä¸çç¸ã§ã¯ãããªããªã£ã¦ãã
day13
2次å gridä¸ã§é¡åãã«ãªã£ã¦ããå¢çãè¦ã¤ããã
ç°¡åãªæ¹æ³ãèªåã§ã¯æãã¤ããªãã¦æãã
day14
2次å gridä¸ã§ä¸¸ãç³ãä¸æ¹åã«åããã¦è©°ãã¦ããã
ä»å¹´ã¯2次å gridã¢ããå¤ããªâ¦ã
day15
Hashã¨HashMapã®ç¬èªå®è£ ã
工夫ã®ãã©ãããè¦ã¤ãããªãã£ãâ¦
day16
å ã®åå°ã¨åè£ã·ãã¥ã¬ã¼ã·ã§ã³ã
ã¾ã2次å grid⦠ãããããããã®ã¯visualizationãé¢ç½ãã
day17
åãæ¹ã«å¶ç´ã®ããæççµè·¯æ¢ç´¢ã
å¶ç´ã²ã¨ã¤ã§è²ããªèãæ¹ãçã¾ãã¦é¢ç½ããªã
day18
å½ä»¤ã®éãã«ç·ãå¼ãã¦å²ãã é¢ç©ãæ±ãããã¨ãããã®ã
AoCã§ã¯ããåºã¦ããã¿ã¤ãã®ãã®ãããªï¼ ãããè¦å´ãããâ¦
day19
4ã¤ã®å¤ã«å¯¾ãã¦åå²ãã¦ããworkflowã«æµãè¾¼ãã§çµæãå¾ãã
ã©ãã©ãå®è£ ã大å¤ã«ãªã£ã¦ããâ¦ï¼
day20
ç¶æ ãä¿æããåè·¯ã使ããéãpulseã®ã·ãã¥ã¬ã¼ã·ã§ã³
ãã°ããæ©ãã§è²ã ãããã¦ä¸å¿ã©ãã«ã解ãåºããã⦠ã¨ããæã
day21
2次å gridè¿·è·¯å ã§ãå¶æ°æ©ã§è¾¿ãçãå¾ãç¯å²ã¯ã
ããã¯ãã£ã¡ãé£ããã¦æ©ã¿ã¾ãã£ã⦠ä½åº¦ã試è¡é¯èª¤ãã¦è§£ã¯åºããã
day22
3次å 空éã§ã¸ã§ã³ã¬ãç©ãã§ããããããã¯ãåãé¤ãã¨ã©ããªãï¼
ããªãèãè¾¼ãã§ããããã©ãã«ã解ããããã¨ããæã
day23
2次å gridã§ã®ä¸çæ¸ã(åãç¹ãäºåº¦ã¨éããªã)æé·çµè·¯ã
è¨ç®ã¯å¤§å¤ã ã£ããã©ã©ãã«ã
day24
3次å 空éå ã§ç§»åãã座æ¨ãã¡â¦ï¼
ãããã2023ã§ä¸çªã®é£åã ã£ãã¨æããããã解ããã¨ã¹ãããªãããã
day25
ã°ã©ãã3辺åæãã¦2ã¤ã®ã°ã«ã¼ãã«åããã
æå°ã«ããåé¡ãã¨ããã®ãï¼ã¢ã«ã´ãªãºã ç¥ããªãã¦ã¡ãã£ã¨æ³¥èãããæ¹ã§è§£ãã