Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
28
Task/Sort-three-variables/Aime/sort-three-variables.aime
Normal file
28
Task/Sort-three-variables/Aime/sort-three-variables.aime
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
integer a, b, c;
|
||||
index i;
|
||||
text x, y, z;
|
||||
record r;
|
||||
|
||||
x = "lions, tigers, and";
|
||||
y = "bears, oh my!";
|
||||
z = "(from the \"Wizard of OZ\")";
|
||||
|
||||
r.fit(x, x, y, y, z, z);
|
||||
|
||||
x = r.rf_pick;
|
||||
y = r.rf_pick;
|
||||
z = r.rf_pick;
|
||||
|
||||
o_form("~\n~\n~\n", x, y, z);
|
||||
|
||||
a = 77444;
|
||||
b = -12;
|
||||
c = 0;
|
||||
|
||||
i.fit(a, a, b, b, c, c);
|
||||
|
||||
a = i.if_pick;
|
||||
b = i.if_pick;
|
||||
c = i.if_pick;
|
||||
|
||||
o_form("~\n~\n~\n", a, b, c);
|
||||
Loading…
Add table
Add a link
Reference in a new issue