P131701 질문
#36
-
이렇게 짰는데 테케 1번만 통과하네요 로직이 잘못된 부분이나 반례가 있다면 좀 알려주세요 |
Beta Was this translation helpful? Give feedback.
Answered by
SangJunni
Apr 18, 2023
Replies: 2 comments 3 replies
-
|
나머지는 시간초과도 아니고 틀렸다고 나오나요?? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to 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]
->>>>반복만 됨