11069 | 2024-07-05 23:46:04 | proba | Szorzás gyakorlás | python3 | Accepted 100/100 | 19ms | 3192 KiB |
for i in [int(input()) for z in range(int(input()))]:
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 | 2920 KiB | ||||
subtask2 | 15/15 | ||||||
3 | Accepted | 17ms | 2916 KiB | ||||
subtask3 | 25/25 | ||||||
4 | Accepted | 18ms | 2916 KiB | ||||
5 | Accepted | 17ms | 3112 KiB | ||||
6 | Accepted | 17ms | 3100 KiB | ||||
7 | Accepted | 17ms | 2976 KiB | ||||
8 | Accepted | 17ms | 2916 KiB | ||||
9 | Accepted | 17ms | 2824 KiB | ||||
10 | Accepted | 17ms | 3044 KiB | ||||
11 | Accepted | 17ms | 2872 KiB | ||||
subtask4 | 20/20 | ||||||
12 | Accepted | 19ms | 3192 KiB | ||||
13 | Accepted | 18ms | 3064 KiB | ||||
subtask5 | 40/40 | ||||||
14 | Accepted | 17ms | 3064 KiB | ||||
15 | Accepted | 19ms | 2960 KiB | ||||
16 | Accepted | 19ms | 2812 KiB | ||||
17 | Accepted | 18ms | 2916 KiB | ||||
18 | Accepted | 18ms | 2916 KiB | ||||
19 | Accepted | 18ms | 2992 KiB | ||||
20 | Accepted | 18ms | 2916 KiB | ||||
21 | Accepted | 18ms | 3048 KiB | ||||
22 | Accepted | 18ms | 2916 KiB | ||||
23 | Accepted | 18ms | 2916 KiB |