# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
339910 | DysonSphere | Esej (COCI15_esej) | C++14 | 12 ms | 1900 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;
string s = "aaaaaaaaaaaaaaa";
int a, b, ind = 0;
int main(){
cin>>a>>b;
while(ind < a || ind < b/2 + 1){
cout<<s<<" ";
for(int i=0;i<15;i++){
if(s[i] < 'z'){
s[i]++;
break;
}
s[i] = 'a';
}
ind++;
}
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |