코딩테스트/프로그래머스 - LV 0
[프로그래머스] 문자 리스트를 문자열로 변환하기
웅드
2024. 1. 22. 17:35
- 풀이
#include <string>
#include <vector>
using namespace std;
string solution(vector<string> arr) {
string answer = "";
for(auto& i : arr){
answer += i;
}
return answer;
}
반응형