Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Incorrecto
|
0.022 s | 3 KBi |
#2 |
Incorrecto
|
0.025 s | 3 KBi |
#3 |
Incorrecto
|
0.02 s | 3 KBi |
#4 |
Incorrecto
|
0.022 s | 3 KBi |
#5 |
Incorrecto
|
0.02 s | 3 KBi |
#6 |
Incorrecto
|
0.016 s | 3 KBi |
#7 |
Incorrecto
|
0.025 s | 3 KBi |
#8 |
Incorrecto
|
0.029 s | 3 KBi |
#9 |
Incorrecto
|
0.025 s | 3 KBi |
#10 |
Incorrecto
|
0.02 s | 3 KBi |
#11 |
Incorrecto
|
0.189 s | 3 KBi |
#12 |
Incorrecto
|
0.216 s | 3 KBi |
#13 |
Incorrecto
|
0.363 s | 3 KBi |
#14 |
Incorrecto
|
0.097 s | 3 KBi |
#15 |
Incorrecto
|
0.095 s | 3 KBi |
#16 |
Incorrecto
|
0.1 s | 3 KBi |
#17 |
Incorrecto
|
0.502 s | 3 KBi |
#18 |
Incorrecto
|
0.133 s | 3 KBi |
#19 |
Incorrecto
|
0.16 s | 3 KBi |
#20 |
Incorrecto
|
0.405 s | 3 KBi |
N = int(input()) arr = [eval(num) for num in input().split()] for i in range(N): for j in range(N-1-i): if arr[j] > arr[j+1]: arr[j],arr[j+1] = arr[j+1],arr[j]