Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 325 Bytes

File metadata and controls

12 lines (9 loc) · 325 Bytes

push_swap

A sorting stacks C program, implementing quick sort algorithm.

Web viewer

A command line to test it

repeat 10 {
ARG=`ruby -e "puts (0 ... 100).to_a.shuffle.join(' ')"`; 
./push_swap $ARG | ./checker $ARG; 
./push_swap $ARG | wc -l | awk '$1 > 700  {print ;}'
}