121732024-12-06 15:21:06lordcasinoiiiKéséspython3Time limit exceeded 16/50601ms25068 KiB
n = int(input())
l = [int(i) for i in input().split()]

x = True
i = 0
while x:
    if l[i:].count(l[i]) > 1:
        i+=1
    elif l[i:].count(l[i]) == 1:
        x = False

print(i+1)

SubtaskSumTestVerdictTimeMemory
base16/50
1Accepted0/016ms3080 KiB
2Accepted0/026ms5348 KiB
3Accepted5/517ms3088 KiB
4Accepted5/521ms3116 KiB
5Time limit exceeded0/5579ms24144 KiB
6Time limit exceeded0/5588ms24040 KiB
7Accepted4/4101ms25068 KiB
8Time limit exceeded0/4601ms24860 KiB
9Time limit exceeded0/4587ms24996 KiB
10Time limit exceeded0/4577ms24992 KiB
11Time limit exceeded0/4601ms24936 KiB
12Accepted2/2133ms24892 KiB
13Time limit exceeded0/2582ms25004 KiB
14Time limit exceeded0/1601ms24904 KiB
15Time limit exceeded0/1592ms25004 KiB
16Time limit exceeded0/1584ms25060 KiB
17Time limit exceeded0/1582ms25000 KiB
18Time limit exceeded0/1592ms25004 KiB
19Time limit exceeded0/1580ms25004 KiB