Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
|
|
@ -1,17 +1,15 @@
|
|||
arrbase a[] 0
|
||||
arrbase seen[] 0
|
||||
len seen[] 100
|
||||
#
|
||||
a[] &= 0
|
||||
seen[0] = 1
|
||||
seen[1] = 1
|
||||
i = 1
|
||||
repeat
|
||||
h = a[i - 1] - i
|
||||
if h <= 0 or seen[h] = 1
|
||||
h = a[i - 1] + i
|
||||
h = a[i - 1 + 1] - i
|
||||
if h <= 0 or seen[h + 1] = 1
|
||||
h = a[i - 1 + 1] + i
|
||||
.
|
||||
until seen[h] = 1
|
||||
seen[h] = 1
|
||||
until seen[h + 1] = 1
|
||||
seen[h + 1] = 1
|
||||
a[] &= h
|
||||
if i = 14
|
||||
print a[]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue