[Community Puzzle] Sum of Spiral's diagonales

https://www.codingame.com/training/easy/sum-of-spirals-diagonales

Send your feedback or ask for help here!

Created by @wyenat,validated by @HayTheFirst,@Photon and @UnicornP.
If you have any issues, feel free to ping them.

Be aware of integer overflow