2744 | 2023-01-20 15:55:39 | kristof | Szorzás gyakorlás | python3 | Wrong answer 25/100 | 17ms | 13200 KiB |
N = int(input())
megvan = 0
for i in range(N):
eredetiSzam = int(input())
szam = eredetiSzam
szLista = [0 for i in range(10)]
szamlalo = 0
while(1):
szamlalo += 1
if megvan == 10:
print(szamlalo-1)
break
for j in str(szam):
if szLista[int(j)] == 0:
szLista[int(j)] += 1
megvan += 1
if megvan == 10:
continue
szam += eredetiSzam
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Wrong answer | 17ms | 11056 KiB | ||||
2 | Wrong answer | 17ms | 11240 KiB | ||||
subtask2 | 0/15 | ||||||
3 | Wrong answer | 17ms | 11552 KiB | ||||
subtask3 | 25/25 | ||||||
4 | Accepted | 17ms | 11816 KiB | ||||
5 | Accepted | 17ms | 11848 KiB | ||||
6 | Accepted | 17ms | 12360 KiB | ||||
7 | Accepted | 17ms | 12260 KiB | ||||
8 | Accepted | 17ms | 12568 KiB | ||||
9 | Accepted | 17ms | 12580 KiB | ||||
10 | Accepted | 17ms | 12632 KiB | ||||
11 | Accepted | 17ms | 12408 KiB | ||||
subtask4 | 0/20 | ||||||
12 | Wrong answer | 17ms | 12848 KiB | ||||
13 | Wrong answer | 17ms | 13084 KiB | ||||
subtask5 | 0/40 | ||||||
14 | Wrong answer | 17ms | 12792 KiB | ||||
15 | Wrong answer | 17ms | 12596 KiB | ||||
16 | Wrong answer | 17ms | 12780 KiB | ||||
17 | Wrong answer | 17ms | 12896 KiB | ||||
18 | Wrong answer | 17ms | 13008 KiB | ||||
19 | Wrong answer | 17ms | 13044 KiB | ||||
20 | Wrong answer | 17ms | 13200 KiB | ||||
21 | Wrong answer | 17ms | 12980 KiB | ||||
22 | Wrong answer | 17ms | 13140 KiB | ||||
23 | Wrong answer | 17ms | 13040 KiB |