Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland : Error E2015 7: Ambiguity between 'std::sqrt(double)' and 'std::sqrt(long double)' in function perfect(int) *** 1 errors in Compile ***