MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / are_amicable

Function are_amicable

math/check_amicable_pair.cpp:58–60  ·  view source on GitHub ↗

* @brief Function to check whether the pair is amicable or not. * @param x First number. * @param y Second number. * @return `true` if the pair is amicable * @return `false` if the pair is not amicable */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testsFunction · 0.85

Calls 1

sum_of_divisorFunction · 0.85

Tested by

no test coverage detected