ä»æ´ã§ã¯ãããä»å¾AtCoderã®åé¡ã解ãä¸ã§ä½¿ã£ãã©ã¤ãã©ãªã¨ãææ³ã¨ãã ããã«ã¾ã¨ãã¦ãããã¨æããpythonéå®ã å ¥åºå åºæ¬ i = input() x,y = map(int,raw_input().split()) å¿ç¨ è¤æ°è¡ãä¸æ°ã«èªãã§ãå ¥åºåã®ãªã¼ãã¼ããããç¡ãããã ï¼è¡æ°ãå¤ãæãç¨ã«ãããããªãã¨TLEã«ãªããï¼ lines = sys.stdin.readlines() å ã¿ã«ãã¼ã«ã«ã§å®è¡ããã¨ãã¯<ctrl-d>ã¨ãã§EOFãæ¤ç¥ãããå¿ è¦ãæãã ãã¼ã«ã«ã§ã®å®è¡ ã¯ãªãããã¼ãã«ãã¹ããã¼ã¿ï¼ããã¹ãï¼ã³ãã¼ãããã¨ã 以ä¸ã§ç°¡åã«å®è¡ã§ããã pbpaste| python test.py åé¡ãé£ããã¦ããã¹ããã¼ã¿ãä½åã使ãããã ã¨æã£ãå ´åã¯ã ãã¡ã¤ã«ã«æ¸ãåºãã¦ããã pbpaste > dataset1 pbpaste > da
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}