Added times to existing problems

This commit is contained in:
2020-06-15 14:44:14 -04:00
parent 6966097445
commit 73aef0ee84
6 changed files with 22 additions and 4 deletions

View File

@@ -57,3 +57,8 @@ pub fn solve() -> Answer{
//Save the results
return Answer::new(format!("The difference between the sum of the squares and the square of the sum of all numbers from 1-100 is {}\n", (sumOfSquares - squareOfSum).abs()), timer.getString());
}
/* Results:
The difference between the sum of the squares and the square of the sum of all numbers from 1-100 is 24174150
It took 0.000 nanoseconds to solve this problem
*/