ygonepiece   1년 전

N 제한이 누락되었습니다 실행 시간을 보니 100만정도 되는 것 같습니다

yup0927   1년 전

꽤 오래 전에 작성하신 글이기는 하나 남겨둡니다.

... Each test case begins with a line containing an integer n, the number of snowflakes processed by the machine. ... The input will contain no more than one million total snowflakes.

댓글을 작성하려면 로그인해야 합니다.