This commit is contained in:
2025-06-02 18:03:03 +02:00
parent 89d54dfc81
commit 656bf7fb4f
14 changed files with 76 additions and 42 deletions

View File

@@ -14,11 +14,9 @@ func main[] : I64
let max: I64 = 0
let max_index: I64 = 0
let i: I64 = 1
while i < 1000000
for i in 1:1000000
let seq: I64 = collatz_seq(i)
if seq > max
max = seq
max_index = i
i = i + 1
print_i64(max_index)