0_0_39574484_22483.cpp: In function 'int main()':
0_0_39574484_22483.cpp:31:25: error: reference to 'lcm' is ambiguous
31 | lcm=__lcm(b,d);
| ^~~
In file included from .\stdc++.h:58:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numeric:179:5: note: candidates are: 'template<class _Mn, class _Nn> constexpr std::common_type_t<_Tp1, _Tp2> std::lcm(_Mn, _Nn)'
179 | lcm(_Mn __m, _Nn __n) noexcept
| ^~~
0_0_39574484_22483.cpp:4:27: note: 'int lcm'
4 | int n,a,b,c,d,e=0,f=0,g,h,lcm,k,l;
| ^~~
0_0_39574484_22483.cpp:32:27: error: reference to 'lcm' is ambiguous
32 | g=lcm/b;
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numeric:179:5: note: candidates are: 'template<class _Mn, class _Nn> constexpr std::common_type_t<_Tp1, _Tp2> std::lcm(_Mn, _Nn)'
179 | lcm(_Mn __m, _Nn __n) noexcept
| ^~~
0_0_39574484_22483.cpp:4:27: note: 'int lcm'
4 | int n,a,b,c,d,e=0,f=0,g,h,lcm,k,l;
| ^~~
0_0_39574484_22483.cpp:33:27: error: reference to 'lcm' is ambiguous
33 | h=lcm/d;
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numeric:179:5: note: candidates are: 'template<class _Mn, class _Nn> constexpr std::common_type_t<_Tp1, _Tp2> std::lcm(_Mn, _Nn)'
179 | lcm(_Mn __m, _Nn __n) noexcept
| ^~~
0_0_39574484_22483.cpp:4:27: note: 'int lcm'
4 | int n,a,b,c,d,e=0,f=0,g,h,lcm,k,l;
| ^~~
0_0_39574484_22483.cpp:34:27: error: reference to 'lcm' is ambiguous
34 | f=lcm;
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numeric:179:5: note: candidates are: 'template<class _Mn, class _Nn> constexpr std::common_type_t<_Tp1, _Tp2> std::lcm(_Mn, _Nn)'
179 | lcm(_Mn __m, _Nn __n) noexcept
| ^~~
0_0_39574484_22483.cpp:4:27: note: 'int lcm'
4 | int n,a,b,c,d,e=0,f=0,g,h,lcm,k,l;
| ^~~
|