코딩테스트/프로그래머스 - LV 0

[프로그래머스] 문자열 돌리기

웅드 2024. 1. 22. 17:17

 

 

  • 풀이
#include <iostream>
#include <string>

using namespace std;

int main(void) {
    string str;
    cin >> str;
    for(int i=0; i< str.size(); i++){
        cout << str[i] << endl;
    }
    return 0;
}
반응형