Update math/lcm_sum.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
chestamittal
2020-10-20 03:03:03 +05:30
committed by GitHub
parent c89a0e3bf0
commit 1ebb42185f

View File

@@ -48,6 +48,7 @@ int lcmSum(int num) {
return ((sumOfEulerTotient[num] + 1 ) * num) / 2;
}
} // namespace math
/**
* Function for testing lcmSum function.