답안 #52059

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
52059 2018-06-23T13:10:22 Z model_code Esej (COCI15_esej) Python 3
80 / 80
508 ms 4908 KB
import sys
a, b = map(int, input().split())
for i in range(1, b+1):
    x = i
    while x > 0:
        sys.stdout.write(chr(x % 10 + ord('a')))
        x //= 10
    sys.stdout.write(' ')
print()
# 결과 실행 시간 메모리 Grader output
1 Correct 23 ms 3300 KB Output is correct
2 Correct 24 ms 3300 KB Output is correct
3 Correct 24 ms 3488 KB Output is correct
4 Correct 26 ms 3644 KB Output is correct
5 Correct 44 ms 4284 KB Output is correct
6 Correct 114 ms 4320 KB Output is correct
7 Correct 417 ms 4804 KB Output is correct
8 Correct 406 ms 4908 KB Output is correct
9 Correct 443 ms 4908 KB Output is correct
10 Correct 508 ms 4908 KB Output is correct