Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Incorrecto
|
0.014 s | 3 KBi |
#2 |
Incorrecto
|
0.013 s | 3 KBi |
#3 |
Incorrecto
|
0.017 s | 3 KBi |
#4 |
Incorrecto
|
0.016 s | 3 KBi |
#5 |
Incorrecto
|
0.016 s | 3 KBi |
#6 |
Incorrecto
|
0.014 s | 3 KBi |
#7 |
Incorrecto
|
0.022 s | 3 KBi |
#8 |
Incorrecto
|
0.022 s | 3 KBi |
#9 |
Incorrecto
|
0.035 s | 7 KBi |
#10 |
Incorrecto
|
0.025 s | 3 KBi |
total = int(input()) arreglo = list(map(int,input().split())) print(arreglo) n_consultas = int(input()) arr = [] for i in range(n_consultas): x = int(input()) temp = 0 for j in range(len(arreglo)): print(arreglo[j]) if(x<arreglo[j]): temp+=1 arr.append(temp) print(arr)