remove aoc solutions
This commit is contained in:
13
examples/euler/euler_02.zr
Normal file
13
examples/euler/euler_02.zr
Normal file
@@ -0,0 +1,13 @@
|
||||
func main[] : i64
|
||||
sum := 0
|
||||
a := 0
|
||||
b := 1
|
||||
|
||||
while a < 4000000
|
||||
if a % 2 == 0
|
||||
sum += a
|
||||
temp := b
|
||||
b += a
|
||||
a = temp
|
||||
|
||||
io.println_i64(sum)
|
||||
Reference in New Issue
Block a user