# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1038678 | vjudge1 | Esej (COCI15_esej) | C++17 | 6 ms | 860 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<iostream>
using namespace std;
string f(int x)
{
string sol;
while(x > 0)
sol += 'a' + x % 10, x /= 10;
return sol;
}
int main()
{
int b;
cin >> b >> b;
for(int i = 1; i <= b; i ++)
cout << f(i) << ' ';
cout << endl;
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |