Sleep sort: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
m Annullate le modifiche di 195.120.55.10 (discussione), riportata alla versione precedente di 59.127.243.40 |
m tag source deprecati, replaced: <source lang= → <syntaxhighlight lang=, </source> → </syntaxhighlight> (2) |
||
Riga 22:
done
wait
</syntaxhighlight>
=== Python ===
<
from time import sleep
from threading import Timer
Riga 45:
sleepsort([333, 222 ,112, 777, 901, 455, 256, 313, 125, 625, 825, 999, 316])
</
public class SleepSort {
public static void main(String[] args) {
|