11589 | 2024-10-27 17:20:06 | balint | Hét krajcár | python3 | Accepted 100/100 | 17ms | 3320 KiB |
input()
inp = list(map(int, input().split()))
print(-1 if max(inp) < 7 else inp.index(7)+1)
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 16ms | 3064 KiB | ||||
2 | Accepted | 16ms | 2872 KiB | ||||
subtask2 | 100/100 | ||||||
3 | Accepted | 16ms | 3084 KiB | ||||
4 | Accepted | 14ms | 2872 KiB | ||||
5 | Accepted | 17ms | 3228 KiB | ||||
6 | Accepted | 17ms | 3168 KiB | ||||
7 | Accepted | 17ms | 3320 KiB | ||||
8 | Accepted | 17ms | 3128 KiB | ||||
9 | Accepted | 17ms | 3128 KiB | ||||
10 | Accepted | 17ms | 3128 KiB | ||||
11 | Accepted | 17ms | 3060 KiB | ||||
12 | Accepted | 17ms | 3236 KiB | ||||
13 | Accepted | 17ms | 3152 KiB | ||||
14 | Accepted | 17ms | 3160 KiB | ||||
15 | Accepted | 17ms | 3136 KiB | ||||
16 | Accepted | 17ms | 3120 KiB | ||||
17 | Accepted | 17ms | 3224 KiB |