112152024-07-16 21:44:29probaHét krajcárpython3Accepted 100/10024ms3192 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()))

i = 0
while i < len(T) and T[i] < 7:
    i += 1

# insert your code here

print(-1 if i == len(T) else i+1) #Answer
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Accepted17ms2916 KiB
2Accepted17ms2920 KiB
subtask2100/100
3Accepted17ms3000 KiB
4Accepted17ms3064 KiB
5Accepted21ms3172 KiB
6Accepted23ms3192 KiB
7Accepted19ms3180 KiB
8Accepted19ms3176 KiB
9Accepted19ms3172 KiB
10Accepted19ms3192 KiB
11Accepted19ms3088 KiB
12Accepted19ms3108 KiB
13Accepted19ms3172 KiB
14Accepted23ms3180 KiB
15Accepted24ms3188 KiB
16Accepted21ms3100 KiB
17Accepted23ms3192 KiB