Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Correcto
|
0.016 s | 3 KBi |
#2 |
Correcto
|
0.018 s | 3 KBi |
#3 |
Correcto
|
0.022 s | 3 KBi |
#4 |
Correcto
|
0.021 s | 3 KBi |
#5 |
Correcto
|
0.041 s | 3 KBi |
#6 |
Correcto
|
0.022 s | 3 KBi |
#7 |
Correcto
|
0.024 s | 3 KBi |
#8 |
Correcto
|
0.021 s | 3 KBi |
#9 |
Correcto
|
0.039 s | 3 KBi |
#10 |
Correcto
|
0.034 s | 3 KBi |
n=int(input()) lista=[] s=0 a = [int(i) for i in input().split()] n_c=int(input()) i=1 while i<=n_c: c=int(input()) for j in a: if j>c: s=s+1 print(s) s=0 i=i+1