121832024-12-06 15:54:51DianaTaylorKéséspython3Accepted 50/50173ms35124 KiB
N=int(input())
E=[int(i) for i in input().split()]
sz={E[i]: i+1 for i in range(N)}
print(min(sz.values()))
SubtaskSumTestVerdictTimeMemory
base50/50
1Accepted0/014ms3060 KiB
2Accepted0/027ms5600 KiB
3Accepted5/516ms3120 KiB
4Accepted5/516ms3120 KiB
5Accepted5/5103ms24008 KiB
6Accepted5/5108ms23988 KiB
7Accepted4/4162ms24916 KiB
8Accepted4/4143ms24876 KiB
9Accepted4/4163ms25068 KiB
10Accepted4/4141ms24896 KiB
11Accepted4/4142ms24832 KiB
12Accepted2/2162ms25492 KiB
13Accepted2/2171ms35124 KiB
14Accepted1/1153ms35124 KiB
15Accepted1/1144ms25588 KiB
16Accepted1/1171ms25516 KiB
17Accepted1/1173ms25488 KiB
18Accepted1/1115ms25584 KiB
19Accepted1/1111ms25512 KiB