lama_byterun/regression/test014.lama

29 lines
258 B
Text
Raw Normal View History

var n;
2018-04-25 01:06:18 +03:00
n := read ();
2018-03-20 23:13:51 +03:00
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