# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
407373 | 2021-05-18T19:56:24 Z | rainboy | Esej (COCI15_esej) | C | 9 ms | 716 KB |
#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
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 204 KB | Output is correct |
2 | Correct | 1 ms | 204 KB | Output is correct |
3 | Correct | 1 ms | 204 KB | Output is correct |
4 | Correct | 1 ms | 204 KB | Output is correct |
5 | Correct | 1 ms | 204 KB | Output is correct |
6 | Correct | 2 ms | 332 KB | Output is correct |
7 | Correct | 8 ms | 716 KB | Output is correct |
8 | Correct | 7 ms | 716 KB | Output is correct |
9 | Correct | 9 ms | 716 KB | Output is correct |
10 | Correct | 7 ms | 716 KB | Output is correct |