11067 | 2024-07-05 23:41:33 | proba | Szorzás gyakorlás | python3 | Accepted 100/100 | 19ms | 3112 KiB |
n = int(input())
lista = [int(input()) for z in range(n)]
for i in lista:
H = set()
j, d = i, 0
while len(H) != 10:
for k in list(str(j)):
H.add(k)
#print(j, H)
j += i
d += 1
print(d)
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 17ms | 2916 KiB | ||||
2 | Accepted | 17ms | 2916 KiB | ||||
subtask2 | 15/15 | ||||||
3 | Accepted | 17ms | 2788 KiB | ||||
subtask3 | 25/25 | ||||||
4 | Accepted | 17ms | 2916 KiB | ||||
5 | Accepted | 17ms | 2916 KiB | ||||
6 | Accepted | 17ms | 3048 KiB | ||||
7 | Accepted | 17ms | 3064 KiB | ||||
8 | Accepted | 18ms | 2896 KiB | ||||
9 | Accepted | 17ms | 2916 KiB | ||||
10 | Accepted | 17ms | 3064 KiB | ||||
11 | Accepted | 17ms | 2916 KiB | ||||
subtask4 | 20/20 | ||||||
12 | Accepted | 19ms | 3064 KiB | ||||
13 | Accepted | 18ms | 2936 KiB | ||||
subtask5 | 40/40 | ||||||
14 | Accepted | 18ms | 2960 KiB | ||||
15 | Accepted | 18ms | 3044 KiB | ||||
16 | Accepted | 18ms | 3044 KiB | ||||
17 | Accepted | 18ms | 3044 KiB | ||||
18 | Accepted | 19ms | 2996 KiB | ||||
19 | Accepted | 19ms | 3064 KiB | ||||
20 | Accepted | 19ms | 3112 KiB | ||||
21 | Accepted | 18ms | 2916 KiB | ||||
22 | Accepted | 18ms | 2936 KiB | ||||
23 | Accepted | 19ms | 2936 KiB |