ã¯ããã« æ¨æºå ¥å input 㨠sys.stdin.readline ã½ã¼ã sort 㨠sorted ã½ã¼ãã® key ã«ã¼ã for 㨠while ãªã¹ã ãªã¹ãã®åæå äºæ¬¡å é åã®å ´å ãªã¹ãã®å¤åç § ãªã¹ãã¸ã®å¤è¿½å ããããã®å¦çé度 ã¾ã¨ã ã¯ããã« æè¿ãPythonã§AtCoderãªã©ã®ç«¶æããã°ã©ãã³ã°ã«ææ¦ãã¦ãã¾ããããã¾ã§ãã¾ãã«æ°ã«ããªãã£ããã©ãã¡ãã£ã¨ããæ¸ãæ¹ã§å¦çé度ãå¤ãã£ã¦ãããã¨ã«æ°ã¥ããã®ã§ããããæ°ã«å°ã調ã¹ã¦ã¿ã¾ããã ç®æ¬¡ã«ããããã«ãæ¨æºå ¥åãã½ã¼ããã«ã¼ãããªã¹ãã«ã¤ãã¦ãè¨8åã®å¦çã®é度æ¯è¼ãè¡ãã¾ãããå¦çé度ã®è¨æ¸¬æ¹æ³ã¯ãMac Book Pro*1ã使ããtimeitã§ãããã100åè¨æ¸¬*2ããå¹³åã¨æ¨æºåå·®ãæ±ãã¦ãã¾ãã çµæã ãç¥ãããæ¹ã¯ãã¾ã¨ãã¸ã©ããã è¨æ¸¬ã«ç¨ããã³ã¼ãã¯ä»¥ä¸ã«ããã¾ãã github.
{{#tags}}- {{label}}
{{/tags}}