# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1092799 | vibeslayer | Esej (COCI15_esej) | Cpython 3 | 104 ms | 11936 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.
a, b = map(int, input().split())
a = b
def f(x):
return chr(x + ord('a'))
ans = []
cntr = 0
for c1 in range(0, 26):
for c2 in range(0, 26):
for c3 in range(0, 26):
for c4 in range(0, 26):
for c5 in range(0, 26):
s = f(c1) + f(c2) + f(c3) + f(c4) + f(c5)
ans.append(s)
cntr += 1
if cntr >= a:
break
if cntr >= a:
break
if cntr >= a:
break
if cntr >= a:
break
if cntr >= a:
break
print(' '.join(ans))
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |