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
ValterVBot (discussione | contributi)
m tag source deprecati, replaced: <source lang= → <syntaxhighlight lang=, </source> → </syntaxhighlight> (2)
Riga 22:
done
wait
</syntaxhighlight>
</source>
 
=== Python ===
 
<sourcesyntaxhighlight lang="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])
 
</sourcesyntaxhighlight>'''JAVA'''<syntaxhighlight lang="java">
public class SleepSort {
public static void main(String[] args) {