Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Correcto
|
0.04 s | 3 KBi |
#2 |
Correcto
|
0.033 s | 3 KBi |
#3 |
Correcto
|
0.028 s | 3 KBi |
#4 |
Correcto
|
0.024 s | 3 KBi |
#5 |
Correcto
|
0.028 s | 3 KBi |
#6 |
Correcto
|
0.031 s | 3 KBi |
#7 |
Correcto
|
0.038 s | 3 KBi |
#8 |
Correcto
|
0.033 s | 3 KBi |
#9 |
Correcto
|
0.044 s | 3 KBi |
#10 |
Correcto
|
0.038 s | 3 KBi |
n = int(input()) v = list(map(int, input().split())) q = int(input()) for _ in range(q): x = int(input()) cur = 0 for i in range(len(v)): if v[i] > x: cur += 1 print(cur)