Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit 9255ab91 authored by Guangting Yu's avatar Guangting Yu
Browse files

strict check sum by gmp

parent 8aabdba3
......@@ -55,11 +55,7 @@ class EulerSum{
long double sumroot = round(pow(powersum, 1.0/power));
if(abs(powersum-pow(sumroot, power))<1e-3){
check_sum(v, static_cast<size_t>(sumroot));
print_solution(v, static_cast<size_t>(sumroot));
check_sum(v, static_cast<size_t>(sumroot));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment