æ«å®: 40,333,000ç¹ã60ä½ã
ã·ã¹ãã ãã¹ã: 1,602,640,025ç¹ã61ä½ã
ã¹ã¯ã·ã§ã
åç»ã
第10å Asprova ããã°ã©ãã³ã°ã³ã³ãã¹ãï¼AtCoder Heuristic Contest 023ï¼æ«å®40,333,000ç¹ã60ä½ã
— kusanoãã@ããã°ããªã (@kusano_k) 2023å¹´9æ10æ¥
åç»ã¯seed 0-3ã#ahc023 #asprocon10https://t.co/48NLIL0oaphttps://t.co/CUG81FLDZ9 pic.twitter.com/zXWBeLnyOP
ããã¾ããªæ¹é
ä¸æ¯ä½ï¼1åã®åºç»ã«æ¤ãã¦åç©«ããã®ã¯1åã ãï¼ãªãã話ã¯ç°¡åãè·é¢ãè¿ãé ã«Dãå°ãããã®ã並ã¹ãæåã«å ¨ã¦æ¤ããã°è¯ãã空éæ¹åã«é åãåºåãããã®åã ã®é åãæåå²ãã¦ãä½ç©ãæ¤ããã
å ¨åæ¨ãä½ãã
ãã®ä¸ããåºç»ï¼å³ä¸ã®èµ¤ä¸¸ï¼ãé¸ã³ããããæ ¹ã¨ããé¨åæ¨ï¼å³ä¸ã®ãã³ã¯ä¸¸ï¼ã1åã®é åã«ããã
åé åãã¨ã«æéãã©ã®ããã«åºåãããç¼ããªã¾ãã
詳細ã¨æç³»å
ã¨ãããããçãããã®ã¾ã¾ç¼ããªã¾ãã¦ã¿ããçãã®ä¸é¨ãå¤æ´ãã¦ãå ¨é¨ã·ãã¥ã¬ã¼ã·ã§ã³ãã¦ãã¹ã³ã¢ãåºãã
2.6Mç¹ãæºç¹ã¯50Mç¹ãã¤ãã¬ã¼ã·ã§ã³ãå ¨ç¶åããªãã®ã§ãã¾ãããããªããã ããããã§ã100åãããæéãæããã°ãæ°åMç¹ã«ã¯ãªã£ã¦ããè¦ãã
ãã以ä¸ã©ããã¦è¯ãã®ãåããããé±æ«ã¾ã§æ¾ç½®ã
éä¸é ä½è¡¨ã ãçºãã¦ããã¨ã40Mç¹ã§ä¸ä½ã«ãããã£ã½ãã40Mç¹ã£ã¦æã£ãããä½ãã50Mç¹ãæºç¹ã ãã80%ãå ¨æéå ¨åºç»ã«ä½ç©ãããã¨æºç¹ã«ãªããã¨ãããã¨ã¯ãåºç»ã®ãã¡10%ãããã¯å ¨ãä½ç©ãæ¤ããªãã¦ãè¯ãã®ãã
æ¹éã«æ¸ãããããªãã¨ããã¦ã¿ãããã ããç¼ããªã¾ãã¯ç¡ãã§ãæéã®åºåãã¯ä¹±æ°ã¯é©å½ã«ãããã§34Mç¹ãæå¤ã¨ç¹æ°åãããªã
åºåããç¼ããªã¾ãã¦38.3Mç¹ã
ä½ç©ãåºç»ã«å²ãæ¯ãã¨ããç¹æ°ã®é«ãï¼åç©«ã¾ã§ã®æéãé·ãï¼ä½ç©ããé ã«ããªãã¹ãã´ã£ãããªåºç»ã«å²ãæ¯ã£ã¦ããã®ãè¯ããããã§ããç¼ããªã¾ãã§ä¸é¨ã®é åã®ä¸é¨ã®æéãå¤ããã¨ãã«å ¨é¨è¨ç®ãç´ãã¨éãã®ã§ãæ´æ°ããã¨ããã«åãä½ç©ãé¸ã¶ããã«ãã¦ãããå®æçã«å ¨é¨ä½ç©ãå²ãå½ã¦ç´ãããã«ããã
39.0Mç¹ããã¾ãå¤ããããªã
é¨åæ¨ã決ããã¨ãã«ãæ ¹ããé çªã«è¦ã¦ãããé¨åæ¨ã®ãµã¤ãºãé¾å¤ãä¸åã£ãããããé åã¨ãã¦åãåºãããã«ãã¦ããã
é¨åæ¨ã®ãµã¤ãºã ãã§å¤æããã®ã¯è¯ããªããå·¦ãå³ãé¨åæ¨ã®ãµã¤ãºã¯åãã ã¨ãã¦ãå·¦ã¯ä¸ä¸ãããããå¥ã®é åã«ããã»ããè¯ããå³ã¯ããã®æã®å ã§é åã«åå²ããã¨éè·¯ã®åãç¡é§ãªã®ã§ãæ ¹ã®é¨åã§å ¨ä½ã1åã®é åã«ãã¦ãã¾ã£ãã»ããè¯ãã
é åã®åºãã¨ã1åºç»ãããã«å¾ãããã¹ã³ã¢ãåºãã¦ã¿ãã¨ãããªã£ãã
ãã£ããä¸æãè¦ç©ããããããã®è¦ç©ããã使ã£ã¦æ¨DPã§ãã©ãã®é¨åæ¨ã1åã®é åã«ããã®ã決ããããã«ããã
39.5Mç¹ã
ãã®è¨ç®ã¯è»½ãã®ã§ãæ¨ãä½ãã¨ãã«4æ¹åãã©ã®é çªã«è¦ãã®ããå¤ãã¦ãä½åº¦ãä½ãç´ãããã«ãããé©å½ã«10ã±ã¼ã¹ãããåããã¦ãã¦ãå·®ã¯åããããâ¦â¦ã¾ãããã£ã¦æã¯ç¡ãã ãã
40Mç¹ãç®æãããããã¨ä½ãã§ãããã¨ããããªâ¦â¦ãã§ãéè·¯ã«ä½ãæ¤ããªãã®ã¯ç¡é§ãªãã¨ã«æ°ãä»ãããéè·¯ã®å ã«è¦ããªãã¿ã¤ãã³ã°ã§ã¯æ¤ãããããæ¤ããããã«ããã
40.3Mç¹ã
40Mç¹ãè¶ ããã®ã§æºè¶³ã