Self-describing numbers: Difference between revisions
Content added Content deleted
Line 1,231: | Line 1,231: | ||
for i to len d[] |
for i to len d[] |
||
if cnt[i] <> d[i] |
if cnt[i] <> d[i] |
||
return |
|||
. |
. |
||
. |
. |
||
Line 1,243: | Line 1,243: | ||
if ind > len d[] |
if ind > len d[] |
||
test d[] |
test d[] |
||
return |
|||
. |
. |
||
for d = 0 to max |
for d = 0 to max |