Notice
Recent Posts
Recent Comments
Link
Little Jay
[C++] 백준 11719번 - 그래도 출력하기 2 본문
getline을 사용하면 간단히 해결되는 문제인 것 같다.
#include <iostream>
#include <string>
using namespace std;
int main() {
string s;
while (getline(cin, s)) {
cout << s << "\n";
}
return 0;
}'알고리즘 > BOJ' 카테고리의 다른 글
| [C++] 백준 1654번 - 랜선 자르기(retry needed) (0) | 2021.08.08 |
|---|---|
| [C++] 백준 1453번 - 피시방 알바 (0) | 2021.08.07 |
| [C++] 백준 15596번 정수 N개의 합 (0) | 2021.08.07 |
| [C++] 백준 11051번 이항 계수 2 (0) | 2021.08.05 |
| [C++] 백준 2839번 - 설탕 배달 (0) | 2021.08.04 |
Comments