1️⃣ 더 맵게 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr생각 흐름일단 내림차순 정렬을 해서 pop_back을 사용하자 (vector 사용)pre, now를 선언하고,pre가 K보다 작으면 now랑 섞기코드1 - 오답#include #include #include #include using namespace std;bool compare(int a, int b){ return a > b;}int solution(vector scoville, int K) { int answer = 0; sort(scoville.begin(), scoville.end(), compare); ..