Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Incorrecto
|
0.163 s | 15 KBi |
#2 |
Correcto
|
0.163 s | 15 KBi |
#3 |
Incorrecto
|
0.182 s | 12 KBi |
#4 |
Incorrecto
|
0.171 s | 15 KBi |
#5 |
Incorrecto
|
0.175 s | 12 KBi |
#6 |
Incorrecto
|
0.178 s | 12 KBi |
#7 |
Tiempo límite excedido
|
1.043 s | 26 KBi |
#8 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Exception in thread "main" java.lang.StackOverflowError at Main.sorting(Main.java:26) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) at Main.sorting(Main.java:27) |
0.763 s | 30 KBi |
#9 |
Tiempo límite excedido
|
0.987 s | 29 KBi |
#10 |
Incorrecto
|
0.823 s | 30 KBi |
#11 |
Tiempo límite excedido
|
1.055 s | 41 KBi |
#12 |
Tiempo límite excedido
|
1.025 s | 44 KBi |
#13 |
Tiempo límite excedido
|
1.085 s | 34 KBi |
#14 |
Tiempo límite excedido
|
1.038 s | 36 KBi |
#15 |
Tiempo límite excedido
|
1.057 s | 34 KBi |
#16 |
Tiempo límite excedido
|
1.031 s | 44 KBi |
#17 |
Tiempo límite excedido
|
1.059 s | 38 KBi |
#18 |
Tiempo límite excedido
|
1.023 s | 34 KBi |
#19 |
Tiempo límite excedido
|
1.014 s | 34 KBi |
#20 |
Tiempo límite excedido
|
0.858 s | 30 KBi |
#21 |
Tiempo límite excedido
|
1.026 s | 34 KBi |
#22 |
Tiempo límite excedido
|
1.067 s | 35 KBi |
#23 |
Tiempo límite excedido
|
1.045 s | 35 KBi |
#24 |
Tiempo límite excedido
|
1.084 s | 35 KBi |
#25 |
Tiempo límite excedido
|
1.007 s | 36 KBi |
#26 |
Tiempo límite excedido
|
1.084 s | 35 KBi |
#27 |
Tiempo límite excedido
|
1.008 s | 36 KBi |
import java.util.Scanner; import java.util.Arrays; public class Main { public static void main(String[] args){ Scanner input = new Scanner(System.in); int n = Integer.parseInt(input.nextLine()); String nn = input.nextLine(); input.close(); String arr[] = nn.split(" "); int numbers[] = new int[n]; for (int i = 0; i < n; i++){ numbers[i] = Integer.parseInt(arr[i]); } sorting(numbers, 0, n -1); String result = Arrays.toString(numbers); result = result.toString(); result = result.replace(",", " "); result = result.replace("[", ""); result = result.replace("]", ""); System.out.println(result); } public static void sorting(int arr[], int left, int right){ if (left < right){ int start = section_sort(arr, left, right); sorting(arr, left, start -1); sorting(arr, start +1, right); } } public static int section_sort(int arr[], int left, int right){ int pivot = arr[right]; int element = (left -1); for (int i = left; i < right; i++){ if (arr[i] < pivot){ element++; int buffer = arr[element]; arr[element] = arr[i]; arr[i] = buffer; } } element++; int buffer = arr[element]; arr[element] = arr[right]; arr[right] = buffer; return element; } }