Submission #1038678

#TimeUsernameProblemLanguageResultExecution timeMemory
1038678vjudge1Esej (COCI15_esej)C++17
80 / 80
6 ms860 KiB
#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 timeMemoryGrader output
Fetching results...