Skip to content

Conversation

@SRASONY
Copy link
Contributor

@SRASONY SRASONY commented May 6, 2025

[Baekjoon-2503] 숫자 야구

  • 가능한 모든 세 자리 수(서로 다른 숫자, 1~9)를 모두 시도해본다
  • 각 후보 숫자에 대해 주어진 N개의 힌트와 일치하는지 확인한다.
  • 모든 힌트와 일치하는 후보 숫자의 개수를 세어 출력한다.

스트라이크(strike): 숫자와 자리 모두 일치, 볼(ball): 숫자는 같지만 자리는 다름
이 조건을 만족하는지 비교 후 모든 힌트와 조건이 일치하면 정답 후보로 인정하고 카운트해주었습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants