# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
339957 | AlperenT | Esej (COCI15_esej) | C++17 | 14 ms | 876 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;
long long a, b, cnt;
int main(){
scanf("%lld %lld", &a, &b);
for(int i = 0; i < 26; i++){
for(int j = 0; j < 26; j++){
for(int k = 0; k < 26; k++){
for(int l = 0; l < 26; l++){
printf("%c%c%c%c ", (char)('a' + i), (char)('a' + j), (char)('a' + k), (char)('a' + l));
cnt++;
if(cnt == b) return 0;
}
}
}
}
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |