fix
This commit is contained in:
parent
3ff35d03d1
commit
f8e321fd11
@ -12,7 +12,7 @@ let quarante_deux t =
|
||||
let n = Array.length t in
|
||||
let count = ref 0 in
|
||||
let i = ref 0 in
|
||||
while !i < n || !count <= 42 do
|
||||
while !i < n && !count <= 42 do
|
||||
if t.(!i) mod 42 = 0 then
|
||||
count := !count + 1;
|
||||
i := !i + 42
|
||||
|
||||
Loading…
Reference in New Issue
Block a user