Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Incorrecto
|
0.042 s | 3 KBi |
#2 |
Incorrecto
|
0.028 s | 3 KBi |
#3 |
Incorrecto
|
0.052 s | 3 KBi |
#4 |
Incorrecto
|
0.022 s | 3 KBi |
#5 |
Correcto
|
0.023 s | 3 KBi |
#6 |
Incorrecto
|
0.024 s | 3 KBi |
#7 |
Incorrecto
|
0.026 s | 3 KBi |
#8 |
Incorrecto
|
0.029 s | 3 KBi |
#9 |
Incorrecto
|
0.022 s | 3 KBi |
#10 |
Incorrecto
|
0.026 s | 3 KBi |
N = int(input()) list_str = input().split() listn = map(int,list_str) queries = int(input()) for i in range(queries): number = int(input()) val = 0 for j in listn: if j > number: val += 1 print(val)