138872025-01-09 08:43:39lengyelaAranycipők (45)python3Accepted 45/4517ms3312 KiB
N = int(input())

golok = [int(input()) for i in range(N)]

max_gol = max(golok)
arany = []
for i in range(N):
    if golok[i] == max_gol:
        arany.append(i + 1)
print(max_gol)
print(len(arany))
for i in range(len(arany)):
    print(arany[i])
SubtaskSumTestVerdictTimeMemory
base45/45
1Accepted0/016ms2884 KiB
2Accepted0/017ms3124 KiB
3Accepted3/314ms2868 KiB
4Accepted3/316ms2872 KiB
5Accepted3/316ms3096 KiB
6Accepted3/314ms2868 KiB
7Accepted3/316ms2988 KiB
8Accepted3/316ms2932 KiB
9Accepted3/316ms2888 KiB
10Accepted3/317ms3112 KiB
11Accepted3/317ms3000 KiB
12Accepted3/316ms2868 KiB
13Accepted3/316ms3140 KiB
14Accepted3/317ms3312 KiB
15Accepted3/317ms3112 KiB
16Accepted3/317ms3124 KiB
17Accepted3/317ms2956 KiB