Submission #1041197

#TimeUsernameProblemLanguageResultExecution timeMemory
1041197vjudge1Esej (COCI15_esej)C++17
48 / 80
3 ms860 KiB
#include <bits/stdc++.h> using namespace std; int main() { int a,b; cin>>a>>b; for (int ct=0;ct<=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 timeMemoryGrader output
Fetching results...