0_0_39485023_3297.cpp: In function 'void work()':
0_0_39485023_3297.cpp:26:25: error: reference to 'lcm' is ambiguous
26 | p[i]=15*lcm/p[i];
| ^~~
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_39485023_3297.cpp:7:9: note: 'long long int lcm'
7 | ll d[N],lcm;
| ^~~
0_0_39485023_3297.cpp:35:26: error: reference to 'lcm' is ambiguous
35 | int gd=gcd(d[mx],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_39485023_3297.cpp:7:9: note: 'long long int lcm'
7 | ll d[N],lcm;
| ^~~
0_0_39485023_3297.cpp:37:27: error: reference to 'lcm' is ambiguous
37 | cout<<d[mx]<<'/'<<lcm/gd<<endl;
| ^~~
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_39485023_3297.cpp:7:9: note: 'long long int lcm'
7 | ll d[N],lcm;
| ^~~
0_0_39485023_3297.cpp: In function 'int main()':
0_0_39485023_3297.cpp:40:9: error: reference to 'lcm' is ambiguous
40 | lcm=2;
| ^~~
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_39485023_3297.cpp:7:9: note: 'long long int lcm'
7 | ll d[N],lcm;
| ^~~
0_0_39485023_3297.cpp:42:17: error: reference to 'lcm' is ambiguous
42 | lcm=lcm*i/gcd(lcm,i);
| ^~~
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_39485023_3297.cpp:7:9: note: 'long long int lcm'
7 | ll d[N],lcm;
| ^~~
0_0_39485023_3297.cpp:42:21: error: reference to 'lcm' is ambiguous
42 | lcm=lcm*i/gcd(lcm,i);
| ^~~
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_39485023_3297.cpp:7:9: note: 'long long int lcm'
7 | ll d[N],lcm;
| ^~~
0_0_39485023_3297.cpp:42:31: error: reference to 'lcm' is ambiguous
42 | lcm=lcm*i/gcd(lcm,i);
| ^~~
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_39485023_3297.cpp:7:9: note: 'long long int lcm'
7 | ll d[N],lcm;
| ^~~
|