Skip to content

Conversation

chaerin-dev
Copy link
Contributor

[LEVEL1]
K번째수
로또의 최고 순위와 최저 순위
부족한 금액 계산하기

이번주는 세 문제밖에 풀지 못했습니다. 다음주에 더 분발하겠습니다!

Copy link
Owner

@codeisneverodd codeisneverodd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

좋은 풀이 잘 보았습니다!! 리뷰가 늦었네요 🥲

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

while 문의 조건을 이렇게 표현하는 방식도 있겠네요!! 그런데 for 문 대신 이렇게 표현하신 이유가 있으신지 궁금합니다!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codeisneverodd 테스트케이스가 t개인 문제를 이런식으로 푸는 게 습관이 되어 있어서요!! 이 문제도 어떻게 보면 테스트케이스가 여러 개인 문제라고 볼 수 있어서 습관적으로 이렇게 코드를 작성했습니다.

@chaerin-dev chaerin-dev merged commit 0217192 into codeisneverodd:main Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants