110842024-07-06 19:35:27probaAranycipők (45)python3Accepted 45/4519ms3192 KiB
lista = [int(input()) for i in range(int(input()))]
mx = max(lista)
print(mx)
print(lista.count(mx))
for j, i in enumerate(lista):
    if i == mx:
        print(j+1)
    

SubtaskSumTestVerdictTimeMemory
base45/45
1Accepted0/017ms2916 KiB
2Accepted0/018ms2916 KiB
3Accepted3/317ms2916 KiB
4Accepted3/317ms2916 KiB
5Accepted3/318ms3192 KiB
6Accepted3/317ms2916 KiB
7Accepted3/317ms3044 KiB
8Accepted3/317ms3064 KiB
9Accepted3/318ms2960 KiB
10Accepted3/318ms2972 KiB
11Accepted3/319ms2916 KiB
12Accepted3/317ms2940 KiB
13Accepted3/318ms3120 KiB
14Accepted3/317ms3044 KiB
15Accepted3/318ms2960 KiB
16Accepted3/319ms3052 KiB
17Accepted3/318ms3024 KiB