2363번 - 약수부분수열
왜 스페셜저지가 없나 고민하다가 원문을 보니 번역된 지문에 조건이 빠져있었습니다.
01 is not (you can't have a leading zero).
부분수열이 나타내는 수는 선행 0을 포함할 수 없습니다.
A subfactor of n is an integer greater than 1
약수 부분수열은 1보다 커야 합니다.
If there are two or more maximal-length series, then the one with the smallest second number is primary; if all maximal-length series have the same first and second numbers, then the one with the smallest third number is primary; and so on.
k가 가장 큰 경우가 여러개라면 만들어진 배열은 사전순으로 가장 작아야합니다.
댓글을 작성하려면 로그인해야 합니다.
riroan 3년 전 7
왜 스페셜저지가 없나 고민하다가 원문을 보니 번역된 지문에 조건이 빠져있었습니다.
01 is not (you can't have a leading zero).
부분수열이 나타내는 수는 선행 0을 포함할 수 없습니다.
A subfactor of n is an integer greater than 1
약수 부분수열은 1보다 커야 합니다.
If there are two or more maximal-length series, then the one with the smallest second number is primary; if all maximal-length series have the same first and second numbers, then the one with the smallest third number is primary; and so on.
k가 가장 큰 경우가 여러개라면 만들어진 배열은 사전순으로 가장 작아야합니다.