Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Incorrecto
|
0.02 s | 3 KBi |
#2 |
Incorrecto
|
0.02 s | 3 KBi |
#3 |
Incorrecto
|
0.019 s | 3 KBi |
#4 |
Incorrecto
|
0.024 s | 3 KBi |
#5 |
Incorrecto
|
0.031 s | 3 KBi |
#6 |
Incorrecto
|
0.021 s | 3 KBi |
#7 |
Incorrecto
|
0.029 s | 3 KBi |
#8 |
Incorrecto
|
0.033 s | 3 KBi |
#9 |
Incorrecto
|
0.017 s | 3 KBi |
#10 |
Incorrecto
|
0.016 s | 3 KBi |
n=int(input()) lista=[] s=0 a = [int(i) for i in input().split()] n_c=int(input()) c = [int(i) for i in input().split()] for i in c: for j in a: if j>i: s=s+1 lista.append(s) s=0 for i in lista: print(i)