# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
293382 | 7_7_7 | Esej (COCI15_esej) | C++17 | 29 ms | 2048 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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 time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |