제출 #293382

#제출 시각아이디문제언어결과실행 시간메모리
2933827_7_7Esej (COCI15_esej)C++17
80 / 80
29 ms2048 KiB
#include <bits/stdc++.h>

using namespace std;

int A, B;
string createWord(int sz = 15){
    string s = "";
    while((int)s.size() < sz){
        s += char((rand() % 26) + 'a');
    }
    return s;
}
int main()
{
    srand(time(NULL));
    ios_base::sync_with_stdio(false);

    cin >> A >> B;
    for(int i = 1; i <= B; i ++){
        cout << createWord();
        if(i != B) cout << " ";
    }
}

#Verdict Execution timeMemoryGrader output
Fetching results...