# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
407373 | rainboy | Esej (COCI15_esej) | C11 | 9 ms | 716 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 <stdio.h>
#define A 26
int main() {
int k, k_;
scanf("%d%d", &k, &k);
while (k--) {
for (k_ = k + 1; k_ > 0; k_ = (k_ - 1) / A)
printf("%c", (k_ - 1) % A + 'a');
printf(" ");
}
printf("\n");
return 0;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |