11214 | 2024-07-16 21:39:26 | proba | Hét krajcár | python3 | Runtime error 0/100 | 19ms | 3200 KiB |
#!/usr/bin/env python3
# NOTE: it is recommended to use this even if you don't understand the following code.
# input data
N = int(input())
T = list(map(int, input().split()))
if 7 not in T:
a = -1
else:
a = nap.index(7)+1
# insert your code here
print(a) #Answer
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Runtime error | 17ms | 2960 KiB | ||||
2 | Accepted | 17ms | 2960 KiB | ||||
subtask2 | 0/100 | ||||||
3 | Runtime error | 17ms | 2952 KiB | ||||
4 | Runtime error | 17ms | 3088 KiB | ||||
5 | Runtime error | 18ms | 3200 KiB | ||||
6 | Runtime error | 19ms | 3092 KiB | ||||
7 | Runtime error | 19ms | 3044 KiB | ||||
8 | Runtime error | 19ms | 3044 KiB | ||||
9 | Runtime error | 19ms | 3088 KiB | ||||
10 | Runtime error | 17ms | 3176 KiB | ||||
11 | Runtime error | 18ms | 3172 KiB | ||||
12 | Runtime error | 18ms | 2972 KiB | ||||
13 | Runtime error | 19ms | 3176 KiB | ||||
14 | Accepted | 18ms | 3044 KiB | ||||
15 | Accepted | 19ms | 3180 KiB | ||||
16 | Runtime error | 19ms | 3196 KiB | ||||
17 | Runtime error | 19ms | 3044 KiB |