14 lines
288 B
Plaintext
14 lines
288 B
Plaintext
include "std/io.zr"
|
|
|
|
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)
|