Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
이렇게 짰는데 테케 1번만 통과하네요 로직이 잘못된 부분이나 반례가 있다면 좀 알려주세요 |
Answered by
SangJunni
Apr 18, 2023
Replies: 2 comments 3 replies
나머지는 시간초과도 아니고 틀렸다고 나오나요?? |
1 reply
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
2 replies
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
찾았습니다
i 가 len(elements)의 1을 제외한 약수인 경우 모든 케이스를 얻지 못합니다.
예시) len(elements)가 6이고 i가 3인 경우
elements = [1,2,3,4,5,6]
첫번째 -> [1,2,3]
두번째 -> [4,5,6]
세번째 -> [1,2,3]
네번째 -> [4,5,6]
다섯번째 -> [1,2,3]
->>>>반복만 됨