1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #include <stdio.h> void print(int n) { if(n < 26) printf("%c", n + 'A'); else { print(n / 26 - 1); print(n % 26); } } int main() { int n; scanf("%d", &n); print(n); return 0; } |
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIHByaW50KGludCBuKQp7CiAgICBpZihuIDwgMjYpCiAgICAgICAgcHJpbnRmKCIlYyIsIG4gKyAnQScpOwogICAgZWxzZQogICAgewogICAgICAgIHByaW50KG4gLyAyNiAtIDEpOwoKICAgICAgICBwcmludChuICUgMjYpOwogICAgfQoKfQoKaW50IG1haW4oKQp7CiAgICBpbnQgbjsKCiAgICBzY2FuZigiJWQiLCAmbik7CgogICAgcHJpbnQobik7CgogICAgcmV0dXJuIDA7Cn0=
-
upload with new input
-
result: Success time: 0.01s memory: 1724 kB returned value: 0
702
AAA


