remove aoc solutions
This commit is contained in:
11
examples/euler/euler_06.zr
Normal file
11
examples/euler/euler_06.zr
Normal file
@@ -0,0 +1,11 @@
|
||||
func main[] : i64
|
||||
sum_of_squares := 0
|
||||
for i in 1..101
|
||||
sum_of_squares += i * i
|
||||
|
||||
square_of_sum := 0
|
||||
for i in 1..101
|
||||
square_of_sum += i
|
||||
square_of_sum = square_of_sum * square_of_sum
|
||||
|
||||
io.println_i64(square_of_sum - sum_of_squares)
|
||||
Reference in New Issue
Block a user