# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1041200 | vjudge1 | Esej (COCI15_esej) | C++17 | 6 ms | 1628 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 main()
{
int a,b;
cin>>a>>b;
for (int ct=0;ct<max(a,b/2);ct++)
{
string s;
int val=ct;
for (int j=0;j<11;j++)
{
int x=val%3;
s+=char('a'+x);
val/=3;
}
cout<<s<<' ';
}
cout<<endl;
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |