mirror of
https://github.com/ProgramSnail/Lama.git
synced 2026-01-02 20:18:19 +00:00
Included lama compilation in root's make regression target
This commit is contained in:
parent
52ef663986
commit
89536c67e0
3240 changed files with 14640 additions and 6 deletions
27
lama-compiler/regression/test014.lama
Normal file
27
lama-compiler/regression/test014.lama
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
var n = read ();
|
||||
|
||||
while n > 0 do
|
||||
|
||||
if n < 1000
|
||||
then
|
||||
if n < 500
|
||||
then
|
||||
if n < 250
|
||||
then
|
||||
if n < 125
|
||||
then
|
||||
if n < 63
|
||||
then
|
||||
if n < 32
|
||||
then
|
||||
write (1)
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi;
|
||||
|
||||
n := n - 1
|
||||
|
||||
od
|
||||
Loading…
Add table
Add a link
Reference in a new issue