omega-rosetta
aien-dev/omega-rosetta
Brought by drakestapleton
omega-rosetta / tasks / merge-sort / oracle.py
| 1 | # Independent reference for "Sorting algorithms/Merge sort" (Python 3, standard library only). |
| 2 | # expected.txt is this program's stdout; omc never produced it. |
| 3 | a = [38, 27, 43, 3, 9, 82, 10, -5, 61, 3, 0, -19, 77, 14, 50, 8] |
| 4 | print(*a) |
| 5 | print(*sorted(a)) |