mirror of
https://bitbucket.org/Mattrixwv/projecteulerrust.git
synced 2025-12-06 17:43:58 -05:00
Added times to existing problems
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user