mirror of
https://bitbucket.org/Mattrixwv/projecteulercpp.git
synced 2025-12-06 17:13:59 -05:00
Changed code to compare more easily with others
This commit is contained in:
@@ -142,6 +142,7 @@ private:
|
||||
//A vector to hold all of the numbers
|
||||
static std::vector<mpz_class> nums;
|
||||
mpz_class sum;
|
||||
void setNums();
|
||||
public:
|
||||
Problem13();
|
||||
virtual void solve();
|
||||
@@ -156,7 +157,7 @@ public:
|
||||
/* Results:
|
||||
The sum of all 100 numbers is 5537376230390876637302048746832985971773659831892672
|
||||
The first 10 digits of the sum of the numbers is 5537376230
|
||||
It took 10.000 microseconds to solve this problem.
|
||||
It took 0.000 nanoseconds to solve this problem.
|
||||
*/
|
||||
|
||||
#endif //PROBLEM13_HPP
|
||||
|
||||
Reference in New Issue
Block a user