Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
|
|
@ -0,0 +1,12 @@
|
|||
proc sort . d[] .
|
||||
for i = 1 to len d[] - 1
|
||||
for j = i + 1 to len d[]
|
||||
if d[j] < d[i]
|
||||
swap d[j] d[i]
|
||||
.
|
||||
.
|
||||
.
|
||||
.
|
||||
a[] = [ 2 4 3 1 2 ]
|
||||
sort a[]
|
||||
print a[]
|
||||
Loading…
Add table
Add a link
Reference in a new issue