math sum of squares and square of sum

This commit is contained in:
Rorik Star Platinum 2025-12-09 22:59:44 +03:00
parent 9ee73c9129
commit be07d4421e
7 changed files with 249 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{
"authors": [
"EduardoBautista"
],
"contributors": [
"ashleygwilliams",
"coriolinus",
"cwhakes",
"eddyp",
"EduardoBautista",
"efx",
"ErikSchierboom",
"IanWhitney",
"kytrinyx",
"leoyvens",
"lutostag",
"mkantor",
"nfiles",
"petertseng",
"rofrol",
"stringparser",
"TheDarkula",
"xakon",
"ZapAnton"
],
"files": {
"solution": [
"src/lib.rs",
"Cargo.toml"
],
"test": [
"tests/difference_of_squares.rs"
],
"example": [
".meta/example.rs"
]
},
"blurb": "Find the difference between the square of the sum and the sum of the squares of the first N natural numbers.",
"source": "Problem 6 at Project Euler",
"source_url": "https://projecteuler.net/problem=6"
}