[프로그래머스]완전탐색 - 모의고사
문제 풀이 #include #include #include //max_element using namespace std; vector solution(vector answers) { vector answer; vector sum(3,0); vector first = {1,2,3,4,5}; vector second = {2,1,2,3,2,4,2,5}; vector third = {3,3,1,1,2,2,4,4,5,5}; for(int i=0; i