Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Correcto
|
0.022 s | 3 KBi |
#2 |
Correcto
|
0.033 s | 3 KBi |
#3 |
Correcto
|
0.032 s | 3 KBi |
#4 |
Correcto
|
0.033 s | 3 KBi |
#5 |
Correcto
|
0.032 s | 3 KBi |
#6 |
Correcto
|
0.029 s | 3 KBi |
#7 |
Correcto
|
0.037 s | 3 KBi |
#8 |
Correcto
|
0.028 s | 3 KBi |
#9 |
Correcto
|
0.032 s | 3 KBi |
#10 |
Correcto
|
0.037 s | 3 KBi |
n = int(input()) array = list(map(int, input().split())) cases = int(input()) for case in range(cases): comp = int(input()) response = 0 for numb in array: if(numb > comp): response+=1 print(response)