omega-rosetta
aien-dev/omega-rosetta
Brought by drakestapleton
omega-rosetta / tasks / insertion-sort / oracle.py
| 1 | # Independent reference for "Sorting algorithms/Insertion sort" (Python 3, standard library only). |
| 2 | # expected.txt is this program's stdout; omc never produced it. |
| 3 | a = [31, 41, 59, 26, -41, 58, 0, -2**63, 2**63 - 1, 26] |
| 4 | print(*a) |
| 5 | print(*sorted(a)) |