Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,21 @@
|
|||
/bubblesort{
|
||||
/x exch def
|
||||
/temp x x length 1 sub get def
|
||||
/i x length 1 sub def
|
||||
/j i 1 sub def
|
||||
|
||||
x length 1 sub{
|
||||
i 1 sub{
|
||||
x j 1 sub get x j get lt
|
||||
{
|
||||
/temp x j 1 sub get def
|
||||
x j 1 sub x j get put
|
||||
x j temp put
|
||||
}if
|
||||
/j j 1 sub def
|
||||
}repeat
|
||||
/i i 1 sub def
|
||||
/j i 1 sub def
|
||||
}repeat
|
||||
x pstack
|
||||
}def
|
||||
Loading…
Add table
Add a link
Reference in a new issue