프로그래머스 다항식 더하기 C++ (1) 썸네일형 리스트형 프로그래머스 다항식 더하기 C++ 프로그래머스 : 다항식 더하기 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr - 문제 다항식이 주어지면 해당 다항식을 정리하는 문제다. - 풀이 #include #include #include using namespace std; string solution(string polynomial) { string answer = ""; stringstream ss(polynomial); int x = 0, dig = 0; vector s = {}; string temp; while(ss >> temp) s.push_back(temp); for(auto a : .. 이전 1 다음