omega-rosetta
aien-dev/omega-rosetta
Brought by drakestapleton
omega-rosetta / tasks / quicksort / oracle.py
| 1 | # Independent reference for "Sorting algorithms/Quicksort" (Python 3, standard library only). |
| 2 | # expected.txt is this program's stdout; omc never produced it. |
| 3 | a = [65, -12, 0, 33, -7, 99, 18, 18, -40, 5, 71, 2, -1, 27] |
| 4 | print(*a) |
| 5 | print(*sorted(a)) |