Submission #1092799

#TimeUsernameProblemLanguageResultExecution timeMemory
1092799vibeslayerEsej (COCI15_esej)Cpython 3
80 / 80
104 ms11936 KiB
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 timeMemoryGrader output
Fetching results...