11068 | 2024-07-05 23:43:25 | proba | Szorzás gyakorlás | python3 | Accepted 100/100 | 19ms | 3192 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)
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 | 18ms | 2916 KiB | ||||
subtask3 | 25/25 | ||||||
4 | Accepted | 17ms | 2960 KiB | ||||
5 | Accepted | 18ms | 2972 KiB | ||||
6 | Accepted | 17ms | 2960 KiB | ||||
7 | Accepted | 17ms | 2916 KiB | ||||
8 | Accepted | 17ms | 2916 KiB | ||||
9 | Accepted | 17ms | 2916 KiB | ||||
10 | Accepted | 17ms | 3092 KiB | ||||
11 | Accepted | 17ms | 3104 KiB | ||||
subtask4 | 20/20 | ||||||
12 | Accepted | 19ms | 2968 KiB | ||||
13 | Accepted | 18ms | 2972 KiB | ||||
subtask5 | 40/40 | ||||||
14 | Accepted | 17ms | 2916 KiB | ||||
15 | Accepted | 18ms | 3108 KiB | ||||
16 | Accepted | 18ms | 2916 KiB | ||||
17 | Accepted | 18ms | 3044 KiB | ||||
18 | Accepted | 19ms | 2960 KiB | ||||
19 | Accepted | 18ms | 2916 KiB | ||||
20 | Accepted | 19ms | 2916 KiB | ||||
21 | Accepted | 19ms | 3192 KiB | ||||
22 | Accepted | 18ms | 3044 KiB | ||||
23 | Accepted | 18ms | 2936 KiB |