[백준] [Silver V] 숫자 카드 - 10815 Python
https://www.acmicpc.net/problem/10815 num_cards_count = int(input()) # 상근이가 가진 카드의 개수owned_cards = list(map(int, input().split())) # 상근이가 가진 카드 리스트query_count = int(input()) # 질문할 카드의 개수queries = list(map(int, input().split())) # 질문할 카드 리스트owned_cards.sort() # 숫자 카드 정렬low, high = 0, num_cards_count - 1 # 이진 탐색 범위 설정def binary_search(cards, low, high, target): # 이진 탐색 함수 while low
2025.01.06