11213 | 2024-07-16 21:36:12 | proba | Hét krajcár | python3 | Runtime error 0/100 | 19ms | 3320 KiB |
# 7 krajcár
N = input()
nap = [int(i) for i in input().split(' ')]
if 7 not in nap:
print(-1)
else:
print(nap.index(7)+1)
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 17ms | 2916 KiB | ||||
2 | Accepted | 17ms | 2916 KiB | ||||
subtask2 | 0/100 | ||||||
3 | Runtime error | 17ms | 2916 KiB | ||||
4 | Runtime error | 17ms | 3052 KiB | ||||
5 | Runtime error | 19ms | 3172 KiB | ||||
6 | Runtime error | 19ms | 3192 KiB | ||||
7 | Runtime error | 18ms | 2972 KiB | ||||
8 | Runtime error | 18ms | 3192 KiB | ||||
9 | Runtime error | 19ms | 3320 KiB | ||||
10 | Runtime error | 19ms | 2972 KiB | ||||
11 | Runtime error | 19ms | 2952 KiB | ||||
12 | Runtime error | 19ms | 3172 KiB | ||||
13 | Runtime error | 18ms | 3192 KiB | ||||
14 | Runtime error | 18ms | 2972 KiB | ||||
15 | Runtime error | 18ms | 3172 KiB | ||||
16 | Runtime error | 19ms | 3172 KiB | ||||
17 | Runtime error | 19ms | 3320 KiB |