#include #include using namespace std; int find_result(int* arr1,int find_num,int start,int end) { int count = 0; int tmp; while (start <= end) { int mid = (start + end)/2; if (arr1[mid] == find_num) { count++; tmp = mid+1; while (tmp
원문 링크 : [백준 BOJ 10816번] 숫자 카드 2 (C++ )