medians of 5 with partitions

Code



Application output:

testing 'partition5a' 0 swaps: 4 orders 1 swaps: 32 orders 2 swaps: 68 orders 3 swaps: 16 orders testing 'partition5b' 0 swaps: 4 orders 1 swaps: 20 orders 2 swaps: 42 orders 3 swaps: 40 orders 4 swaps: 14 orders testing 'partition5c' 0 swaps: 4 orders 1 swaps: 14 orders 2 swaps: 25 orders 3 swaps: 30 orders 4 swaps: 26 orders 5 swaps: 16 orders 6 swaps: 5 orders testing 'partition5d' 0 swaps: 4 orders 1 swaps: 14 orders 2 swaps: 24 orders 3 swaps: 29 orders 4 swaps: 26 orders 5 swaps: 16 orders 6 swaps: 6 orders 7 swaps: 1 orders testing 'partition5e' 0 swaps: 4 orders 1 swaps: 12 orders 2 swaps: 19 orders 3 swaps: 25 orders 4 swaps: 25 orders 5 swaps: 18 orders 6 swaps: 11 orders 7 swaps: 5 orders 8 swaps: 1 orders

Paste info


Author: Guest
Views: 388
Private: no
Expires: Never
Uploaded: 05.02.16 16:00
Votes: 0

Compilation


Compiler: DMD 2.077.1 ( 2.077.1 )
Pointer size: m64

Actions