ICPC 2024 Asia Yokohama Regional ã«ãã¼ã Screenwalkers ã®ä¸å¡ã¨ãã¦åå ãã¾ããã ç·´ç¿ãæ¬çªã®æ§åãè¨ãã¦ããã¾ãã
ç·´ç¿
ç¹çãã¹ãç¹ã¯ãã¾ããªããããèªåãé§å ´ã«ãååãæ¬é·ã«éã£ã¦ãããã¨ããã対é¢ã§éã¾ããªãæ¥ãããããå¤ãã£ãããã ã§ããæ±å¤§ã®1å¹´ã¯ææ¥ã§å¿ããã®ã«ã11æã«ã¯é§å ´ç¥ããããæå±ãã¦ãã大å¦åå±å£ã§ã®ç·´ç¿ãå¢ãã¦ããã®ã§ã競ããã«æ³¨åããããªãã£ãã®ã¯ã¡ãã£ã¨å¿æ®ãã
ããã£ã®ã»ããã¯å¤§ä½ E869120 ãããé¸ãã§ããã¦ãããUCup ãæµ·å¤ã® Regional ã解ããã¨ãå¤ãã£ããæ¯åã¨ããããã§ã¯ãªãããããããè¯ãæ績ãç¶æã§ãã¦ããã¨æãã
å ¨å¡ JOI è²ã¡ãªã®ã§å¾æåéã被ã£ã¦ãããã¨æãããæå¤ã¨ããã§ããªãã大éæã«è¨ãã¨ã°ã©ã(ç¹ã«æ¨)ã»ãã¼ã¿æ§é ãèªåãå¹¾ä½ã»æ§ç¯ã»ad-hocã square ãããæååã»æ°ãä¸ãã»ã¤ã³ã¿ã©ã¯ãã£ãã E869120 ããã¨ããæããªã®ã ããå ¨å¡ãªã¼ã«ã©ã¦ã³ãã¼å¯ããªã®ã§æ確ã«åé¡ã§ããªãåé¡ã«ã¤ãã¦ã3人ã®è½åã®åéåãã¨ãã¨è¯ãæãã«å¯¾å¿ã§ããããã®ãããåé¡ã¨ã®ãããã³ã°ããã¾ããã£ãåã¯å¤§ä½ãæåã«çµãã£ãã
å½å äºé¸
æç³»åããã¡ããã¡ãã«ãªã£ã¦ãããã7æã®å½å äºé¸ã«ã¤ãã¦ãå°ãã ãè¨åãã¦ããã
å½å äºé¸ã¯ã¯ã£ããè¨ã£ã¦ææªã®çµæã ã£ãã1ä½ãåãæ°æã¡ã§è¨ãã ã«ããããããå¾ãããçµæã¯1ä½ã¨2å®å·®ã®11ä½ãæå ã¯è²ã ãããã
- æ¬çªã®ç°å¢ãç¹æ®ã ã£ãã«ãããããããåæ¥ã¾ã§ã«è«¸ã ã®ç¢ºèªãè¡ãã®ãæ ã£ãã
- å½å äºé¸ã«ã¼ã«ã§ã®ç·´ç¿ãå°ãªãã£ãã3æéã¨ããçãã³ã³ãã¹ãã«åãããæ¦ç¥ãæºåãã¦ããã¹ãã ã£ãã
- ã³ã³ãã¹ãæ°æ¥åã« E869120 ããã«è²ã ãã£ã¦ãã¼ã å ¨ä½ã¨ãã¦ã¡ã³ã¿ã«ãæ´ã£ã¦ããªãã£ãã
ãªã©ã ãããããã®å¤±æãè¸ã¾ãã¦ã8æé ããã¯ç·´ç¿ãå¤ããªã£ãã
Taichung Regional
å®ã¯ãYokohama ããå (11æä¸æ¬) ã«å°æ¹¾ã®å°ä¸å¸ã§éå¬ããã Regional ã«ãåå ãã¦ããããã¡ãã WF ã«åå ã§ããå¯è½æ§ãé«ããã¨ããæå³ããã£ããããã¡ã®ãã¼ã 㯠(å½å äºé¸ã§ã®å¤±æããã) æ¬çªã«å¼±ãã®ã§ã¯ãªããã¨ããä¸å®ããããçµé¨ãç©ãã¨ããç®çã大ããã£ãã
éè¯ãå°æ¹¾ã®å¼·è±ª std_abs ãæãåªåãããã¨ãã§ãããããYokohama 㧠SPJ ã¾ã㯠HHIJKT ãåªåããªããã° WF 確å®ã¨ããé常ã«å¿å¼·ãç¶æ³ã«ãªã£ãããã®æåã§ã¡ã³ã¿ã«ã»æ¬çªåã»ãã¼ã åãã¹ã¦ã®æé·ãå®æã§ããè¯ãæµãã«ä¹ã£ã¦ Yokohama ã«åãããã¨ãã§ããã
Yokohama Regional
æ¬ç·¨
åæ¥ã®å¤ã¯ãã¾ãç ããªãã£ããç·å¼µã®ãããªã®ãããããªããå°æ¹¾ã§ã¯ãã£ããç ãããã ããªâ¦â¦ãã¨ã¯ããç¹ã«èª°ããä½èª¿ãå´©ãã¨ãããã¨ããªããä¼å ´ã«ãæééãã«å°çãããã¨ãã§ããã®ã§ç¬¬ä¸é¢éã¯çªç ´ããã
ã³ã³ãã¹ã㯠20 åã»ã©æ©ãã«å§ã¾ã£ããããã ICPC Timer ã¨ãããã¤ã§ããï¼æåã®ãã©ã¼ã¡ã¼ã·ã§ã³ã¨ãã¦ã¯ãèªåãç°å¢æ§ç¯ãE869120 ããã A åé¡ãsquare1001 ããã B åé¡ã¨ãªã£ã¦ãããB->A ã®é ã«ä¸çº AC ã 2 å®æç¹ã§ã¯ 1 ä½ã«ãªã£ããæµç³ã®æ©è§£ãåã§ãããèªå㯠C~L ããåé¡æãçããã®ãèªãã§ããã®ã ãã3 åç®ãããã«èªãã K ãç°¡åã§ãããã¨ã«æ°ã¥ããå®è£
ãã¦æåºãããWAããããããããããåºç¤ã§ãã¹ããã¨ããªããã£ãããªãã®ã§ãç®è¦ãããã°ããå®å
¨ã« AC ãåãã¹ãã©ã³ãã ãã¹ããå®è£
ããã®è¦åãã¨ãã¹ãã®å®è£
é度ã¯è¯ãã£ããå®è¡ãã¦ã¿ãã¨ããè½ã¡ãã±ã¼ã¹ãã¿ã¤ããã試ãã¦ã¿ãã¨ãªã㨠REP ãã¯ãã®ç½ ãè¸ãã§ããã#define RREP(i, l, r) for (auto i = r - 1; i >= l; --i)
ã¨æ¸ãã¦ãããã§ãããçæ§ãªãä½ãã¤ããããåããã§ãããããããªåæ©çãªãã¹ã§ãã 20å + 10åç¨åº¦å¤±ã£ãã®ã¯ããªãçãããããã§ãSecond ACã ã£ãã®ã¯å®å¿ããã®éã«Penguin FeedersãE,Iãéãã¦ãã¦éããã ãã¨æã£ãããååãçéã§I->Eã®é ã«éãã¦ããã¦å¿å¼·ãã£ãããã®éã«èªåã¯G,Hãå°ãèãã¦ããæ°ãããããèªãã ãèªãã§ã¹ã«ã¼ãã¦ããCãéããã¦ããã®ã§Iãéãã¦å¸°ã£ã¦ããE869120ããã¨å°ãèãããæçè·¯æ¨ããã®ã¾ã¾çãã«ãªã£ããè¯ããã§ããã©ããããªã©ã¨è©±ãã¦ãããE869120ããã証æãã¦ããããACããã®éã®ã©ããã®ã¿ã¤ãã³ã°ã§square1001ãããLãå®è£
ãã¦ããæ°ãããããã©ãããå解æ³ã ã£ãããããABCEIKã®6åã¨ãã®ä»ã§é£æ度ã«å´ããããããã§ååæ¦çµäºã¨ããæããã
å¹¾ä½æ å½ã®square1001ãããFã§è³ãã«ã§ã¦ããã®ã§æ®ã£ãäºäººã§G,Hããããè¦ããGãèªãã§ãçãä¸ä¸åã®ç¢å°ã®åæ°ã®å·®ã§å·¦å³ã©ã£ã¡ã決ã¾ãããäºåæ¢ç´¢ã§ããããããªããã¨ãããã¨ãE860120ããã«ä¼ã解æ³ãè©°ãã¦ãããããä»æãè¿ãã¨ããã¯æåã®ã¢ã¤ãã¢ã®æç¹ã§å解æ³ã§ãããããã¨ã«èå¯ã»å®è£ ãä»»ãã¦ãã¾ã£ãã®ã¯ããªãçæãFã¯éãããGãå®è£ ã«ããªãæéãããããè©°ã¾ã£ã¦ãã¾ã£ããããã§èªåãAMATSUKAZEã«è§£ããã¦ããDã«ç§»ãã¨è§£ããã®ã§å®è£ ãããã¨ã«ã3人ãå¥ã ã®3åã«åãæããã¨ããã®ã¯ããªããªã¹ã¯ã大ãã(ç¹ã«ãå ¨å¡è©°ã¾ãã¨ç ´æ» )ããDã¯ä¸çºã§éã£ãã®ã§å®å¿ããããã®å¾ååã«ã¯F,Gãé å¼µã£ã¦ãããã¤ã¤èªåã¯HãèãããJã®å対ãåã£ã¦ã¿ãããã¦ããæ°ãããããã®ãããã§Gãå解æ³ã ã£ããã¨ãåãã£ãã®ã§èå¯ããªããã1åè¦ãã®ã§ã¯ãªã2åè¦ãæ¹ããããã¨ã«æ°ã¥ãå度E869120ããã«ã¢ã¤ãã¢ãæããèå¯ãã¦ããããLããã°ããæã¤ããã«ãªã£ã¦ãããã¨ãæãåºãèå¯ãã¦ã¿ãã¨ãæéã¯ããã£ããã®ã®è§£ããæ°ã«ãªã£ãã®ã§å¸æãæã¤ããã°ããããã¨square1001ãããFãéããèªåã®Lã(1ããã®æ«ã ã)éã£ãã®ã§å¢ãä»ããä»åº¦ããæ£ãã解æ³ãè©°ãã¦ããã¦ããE869120ããã«Gãå®è£ ãã¦ããããACããã®ä¸æéã§F,G,Lã®3åãéããã¨ãã§ããå®æ°çã«ãããçã«ãåªåãããªãå ããªã£ããèªåãLãéããå¾square1001ããã¨Jãèãã¦ããã®ã ããsquare1001ãããä»åã®ã³ã³ãã¹ãã§ä¸çªã®å¤©æããã¦Jã®æ£ããããªè§£æ³ãçããã¦ãããã®ã§ãèªåãæ£å½æ§ãæ¤è¨¼ãã¤ã¤Gãéã£ãç´å¾ããå®è£ ãã¦ããããã¨ã«ãªã£ãã
æå¾ã®ä¸æéãsquare1001ããã¯ã¾ãJã®å®æ°ã®å ´åãå®è£ ãèªåã¨E869120ããã§Hãèãããã絶対Y.Y.ããã ããããã¤ã交åã ããªã©ã¨è©±ãã¦ããããããã¤ã交åã¨ãããã¨ã¯çµ¶å¯¾ãããã³ã°ã«ä¼¼ã解æ³ã§è§£ããã¯ãã¨ãããã¨ã«ãªããããã£ã½ãå¢å è·¯ã®ãããªãã®ãè¦ã¤ãã¦æ¹åããæ¹éãE869120ããããææ¡ããããèªåã¯ããããE869120ããã®åã®ãããªãã®ãä¼å¾ã§ãã¦ããªãã®ã§æ£å½æ§ã¯åãããªãã£ãããæ®ãæéãå°ãªãã®ã§Jãéã£ãããããå®è£ ãããã¨ã«ãªã£ãããã®éã«square1001ãããJã®å®æ°ã®å ´åã§æ£ããçããåºåãããã¨ã確ããã¦ããã®ã§ããç¥ãããªããæçæ°ã®å ´åãå®è£ ãã¦ããã£ãã2åæåºãã¦WAã ã£ãããã©ã³ãã ãã¹ããããããå°å·ããã³ã¼ããæ®ãã®äºäººã§èªããªã©ãã¦ãããã°ã«å ¨åããããããªãã¨æ®ã15åã§ACããããã¾ãã«å¼·ããããæå¾ã¾ã§è«¦ããE869120ãããHãè¶ çµ¶ç±çå®è£ ãã¦ãããéã«åãã¯ãããªãã³ã³ãã¹ãçµäºãåçµãããé ä½è¡¨ããåããç¯å²ã§ããå°ãªãã¨ã¨ãWFé²åºã¯ç¢ºå®ãã¦ããããã°ãããã¼ã ã§ãäºããå´ã£ã¦ããã
Yes/Noã«ããç¡äºåªåã確å®ãæå¾JãYesã ã£ãæã«ä¼å ´ã沸ããã®ãå¬ããã£ãã
ãããã«
Regional 2大ä¼åªåãæãã WF é²åºã決ãããã¦æ¬å½ã«ãããããå½å äºé¸ã®ã¨ãããããªãæé·ããã¨æãããã¼ã ã¨ãã¦ããã«æ¹åã§ããç¹ãããããèªåã¨ãã¦ããã£ã¨å¼·ããªããã¨æã£ã¦ããã®ã§ãä»å¾ã®ç·´ç¿ãé å¼µãã¾ããWF ãè¦ã¦ã¦ãã ãããã
(宣ä¼) ç´åãããã®ã§ãããä»é±æ«12/28ã«èªåãæå±ãã¦ããæ±äº¬å¤§å¦æèä¼åå±å£(@HakuyoChoir)ã®å®ææ¼å¥ä¼ãããã®ã§ãèå³ãããã°ãè¶ããã ããããã±ããã¯ãã¡ã