코딩테스트/프로그래머스
2024. 10. 26.
[프로그래머스] 단어 변환
🔗 문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/43163 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr👩💻 코드#include #include #include #include #include using namespace std;int diffCount(const string &str, const string &target){ int count = 0; for(int i=0; i words) { if(find(words.begin(), words.end(), target) == words.end()){ ..