remove aoc solutions

This commit is contained in:
2026-06-07 09:35:29 +02:00
parent a9bd4fe9f9
commit 7ee9a860f3
31 changed files with 2 additions and 495 deletions

View File

@@ -0,0 +1,18 @@
func main[] : i64
n := [1]
for j in 0..1000
carry := 0
for i in 0..n->size
tmp : i64 = n->nth(i) * 2 + carry
n->set(i, tmp % 10)
carry = tmp / 10
while carry > 0
n->push(carry % 10)
carry = carry / 10
sum := 0
for i in 0..n->size
sum += n->nth(i)
io.println_i64(sum)