# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1280037 | SmuggingSpun | Esej (COCI15_esej) | C++20 | 6 ms | 13312 KiB |
#include<bits/stdc++.h>
#define taskname "B"
using namespace std;
int main(){
ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
if(fopen(taskname".inp", "r")){
freopen(taskname".inp", "r", stdin);
}
int b;
cin >> b >> b;
for(int i = 0; i < b; i++){
int x = i;
for(int j = 0; j < 5; j++, x /= 26){
cout << char(x % 26 + 97);
}
cout << " ";
}
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |