Advent of Code ã¨ããã®ãããã
æ¥æ¬ã§ã¯ã¾ã ãã¾ã ç¥ã£ã¦ãã人/ãã£ã¦ãã人 ã¯å¤ããªããããããªããæ¤ç´¢ãã¦ã¿ã¦ããæ¥æ¬èªã®ç´¹ä»è¨äºã¯ãããããããè¦ã¤ãããªãã£ãã
åããå»å¹´ å ååã® @ExAdamu ã«æãã¦ãããã¾ã§ã¯åå¨ããç¥ããªãã£ãã
ã©ããããã®ããã£ã¦ããã®ã¯ä¸ã«è²¼ã£ãè¨äºã§ãæ¸ããã¦ããéãã§ã12/1 ã 12/25 ã¾ã§ æ¯æ¥1ã¤ãã¤ãããã°ã©ãã³ã°ã使ãããºã«åé¡ãåºé¡ããããã¨ãããã®ã puzzle input ã®å ¥åå¤ãä¸ããããããã«å¯¾ããåçãèªåã®æ¸ããã³ã¼ãã§è¨ç®ããåºåå¤ã submitãã¦æ£è§£ããã°æãè²°ããã
å ¥åå¤ã¨ããã«å¯¾ããæ£è§£ã¯ã©ãããã¦ã¼ã¶ãã¨ã«ç°ãªããã®ã«ãªã£ã¦ããããã§ã誰ãã«æ£è§£ãè¨ã ã¿ãããªãã®ã¯åºæ¥ãªãããã«ãªã£ã¦ããã éè¦ãªã®ã¯æ£è§£ã«è¾¿ãã¤ãããã®ã³ã¼ããã¨ãããã¨ã«ãªãã
åé¡ã¯æ¯æ¥ part1 / part2 ã¨åããã¦ãã¦ãpart1ã¯ã ãããåé¡æã«æ¸ãã¦ããéãã«æ£ããå®è£ ããã°çããåºãããããªæãã«ãªã£ã¦ããã part2 ã¯ã使ãå ¥åå¤ã¯part1ã¨ä¸ç·ãªã®ã ãã© æ±ãããããã®ãããè¤éã«ãªããã¡ãã£ã¨é£ãããªãããããªãã«æ£ããã¢ã«ã´ãªãºã ã¨ãã¼ã¿æ§é ãé§ä½¿ããªãã¨è§£ããªãã£ãããããç¨åº¦ã¯æ°å¦çãªç¥èãå¿ è¦ã«ãªã£ã¦ãããããããã ã
ãã¹ã¦ã®æ¥ç¨ã§ part1 / part2 ãã¹ã¦æ£è§£ããã°æã50åéã¾ããã¨ãããã¨ã«ãªãã
å»å¹´ã¯åå¨ãç¥ã£ãã ãã§å ¨ç¶ææ¦ãã¦ããªãã£ãã®ã ãã©ãä»å¹´ã¯ã¡ãã£ã¨è 試ãã¨ç·´ç¿ãå ¼ãã¦ãã¨ãããã¨ã§ Rustã§ææ¦ãã¦ã¿ããã¨ã«ããã ç¾æç¹ã§ 23æ¥ã¾ã§åºé¡ããã¦ãã¦ã46åä¸41åã¾ã§æãéããç¶æ ã
å¥ã«ããã¯ã³ã³ãã¹ãã¨ã競æã®ãã®ã§ã¯ãªãã®ã§ ä»ã®äººã®åçæ¹æ³ãè¦ã¦ã¯ãããªãããã§ã¯ãªã(æ©è§£ãä¸ä½ãç®æã人ã¨ãã¯å¥ã ãããã©)ã
åºæ¥ãéãèªåã§èãã¦ã¿ã¦ãåãããªãã£ãã reddit ã§ä»ã®äººã®ã³ã¼ããèãæ¹ãè¦ã¦ãè¯ãã åãå¹¾ã¤ãã¯è©°ã¾ã£ã¦redditã®ä»ã®äººã®ã¢ã¤ãã¢ãåèã«ããã¦ããã£ãããããã
ã¨ã«ããããã£ã¦ã¿ãã¨ãããã¯ã¨ã¦ãé¢ç½ãã
åé¡ãã¨ã¦ãããåºæ¥ã¦ãã¦ãã¹ãããªè§£ããã¨ãã®ç½å¿«æããããã
ãã¨ç¹å¾´ã¨ãã¦ãæ¯åæä¾ãªã®ãä»å¹´ã®ãç¹å¥ãªã®ãã¯ç¥ããªããã© ã·ãªã¼ãºãã®ã«ãªã£ã¦ããåé¡ãããã
å¥æ°æ¥ã¯ IntCode
ã¨ãã æ´æ°å¤åã使ã£ãã¬ã¸ã¹ã¿ãã·ã³ã®ãããªãã®ã使ç¨ãããã¨ã«ãªãããã®ã¤ã³ã¿ããªã¿ãå®è£
ããåé¡ã day5, day7, day9 ãããã§åºããã¦ããããã®ã¸ãã¯é çªã«ãã£ã¦ããªãã¨è§£ããªãã
ã§ã ã¡ããã¨åãããã¨è¿·è·¯ãåºç¾ãããããããã¯å´©ãã®ã²ã¼ã ãåããããã¦ãããã¯æåãã
I've completed "Care Package" - Day 13 - Advent of Code 2019 https://t.co/dBohq0wslX #AdventOfCode pic.twitter.com/cWsAblH7vy
— ãããã¼ãð¯ (@sugyan) December 14, 2019
å¶æ°æ¥ã¯éã«ä»ã®æ¥ã¨ã¯å ¨ç¶é¢ä¿ãªãã®ã§ ã¾ã£ããäºåç¥èãªãã¦ãææ¦ãã¦è§£ããã¨ãåºæ¥ãã¯ãã
ããã°ã©ãã³ã°ã好ããªäººãæ°å¦ã好ããªäººãæ¯éã¨ãææ¦ãã¦ã¿ãã¨è¯ãããããªãããªãã¨æãã¾ãã
åãä»å¹´ã©ãã¾ã§åºæ¥ããåãããªããã©ããã¡ãã£ã¨é å¼µã£ã¦ã¿ãããæ¥å¹´ããã£ãã絶対ã¾ãææ¦ãã¦ã¿ããã¨æã£ã¦ããã