https://www.acmicpc.net/problem/11721


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <iostream>
#include <stdio.h>
#include <string>
#pragma warning(disable : 4996)
using namespace std;
 
int main() {
    string input;
    cin >> input;
    int idx = 0;
    int end = input.length();
    while (idx < end) {
        cout << input[idx];
        idx++;
        if (idx % 10 == 0printf("\n");
    }
    printf("\n");
    return 0;
}
cs



<Amazing Code From yunsubaek>

1
main(a){for(;~scanf("%10s",&a);)puts(&a);}
cs
 


+ Recent posts