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]
break 2
return
.
.
.
.
Line 1,243: Line 1,243:
if ind > len d[]
if ind > len d[]
test d[]
test d[]
break 1
return
.
.
for d = 0 to max
for d = 0 to max