Anonymous user
Fibonacci word: Difference between revisions
→{{header|Aime}}
(→{{header|Factor}}: drastically reduced memory usage and run time) |
|||
Line 134:
ones = zeros = 0;
i = -(count =
while (i) {
if (b[i] == '0') {
Line 157:
b = "0";
o_form("%2d %9d /w12p10d10/ ~\n", 1,
o_form("%2d %9d /w12p10d10/ ~\n", 2,
i = 3;
while (i <= 37) {
o_form("%2d %9d /w12p10d10/ ~\n", i,
i += 1;
}
|