웅재의 코딩세상
[프로그래머스] 문자 리스트를 문자열로 변환하기 본문
- 풀이
#include <string>
#include <vector>
using namespace std;
string solution(vector<string> arr) {
string answer = "";
for(auto& i : arr){
answer += i;
}
return answer;
}
반응형
'코딩테스트 > 프로그래머스 - LV 0' 카테고리의 다른 글
[프로그래머스] 더 크게 합치기 (0) | 2024.01.23 |
---|---|
[프로그래머스] 문자열 곱하기 (0) | 2024.01.22 |
[프로그래머스] 문자열 섞기 (1) | 2024.01.22 |
[프로그래머스] 문자열 겹쳐쓰기 (0) | 2024.01.22 |
[프로그래머스] 홀짝 구분하기 (0) | 2024.01.22 |