0_0_37942968_15852.cpp: In instantiation of 'T __lcm(T, T) [with T = long long int]':
0_0_37942968_15852.cpp:209:35: required from here
0_0_37942968_15852.cpp:133:20: error: call of overloaded '__gcd(long long int&, long long int&)' is ambiguous
T num = __gcd(a, b);
^
0_0_37942968_15852.cpp:133:20: note: candidates are:
0_0_37942968_15852.cpp:127:3: note: T __gcd(T, T) [with T = long long int]
T __gcd(T a, T b) {
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from 0_0_37942968_15852.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1229:5: note: _EuclideanRingElement std::__gcd(_EuclideanRingElement, _EuclideanRingElement) [with _EuclideanRingElement = long long int]
__gcd(_EuclideanRingElement __m, _EuclideanRingElement __n)
^
|