본문 바로가기

Dev/BAEKJOON 백준

[백준/BOJ] 백준 코딩 알고리즘 11718번/C++

728x90
반응형

백준 코딩 알고리즘 문제 11718

 

백준 코딩 알고리즘 문제 11718번 풀이 - 사용 언어: C++

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <iostream>
#include <string>
 
using namespace std;
 
int main() {
 
    string str;
 
    for (int i = 0; i < 100 && !cin.eof(); i++)
    {
        getline(cin, str);
        cout << str << endl;
    }
    return 0;
 
}
cs
728x90
반응형