Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Correcto
|
0.034 s | 5 KBi |
#2 |
Correcto
|
0.026 s | 6 KBi |
#3 |
Correcto
|
0.028 s | 4 KBi |
#4 |
Correcto
|
0.026 s | 3 KBi |
#5 |
Correcto
|
0.026 s | 7 KBi |
#6 |
Correcto
|
0.022 s | 3 KBi |
#7 |
Correcto
|
0.028 s | 3 KBi |
#8 |
Correcto
|
0.028 s | 7 KBi |
#9 |
Correcto
|
0.026 s | 4 KBi |
#10 |
Correcto
|
0.024 s | 3 KBi |
N = int(input()) A = [eval(num) for num in input().split()] C = int(input()) for c in range(C): count = 0 number = eval(input()) for num in A: if num > number: count += 1 print(count)