0_0_39778230_8578.cpp: In function 'int main()':
0_0_39778230_8578.cpp:46:13: error: reference to 'gcd' is ambiguous
46 | gcd[j].push_back(i);
| ^~~
In file included from .\stdc++.h:58:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numeric:164:5: note: candidates are: 'template<class _Mn, class _Nn> constexpr std::common_type_t<_Tp1, _Tp2> std::gcd(_Mn, _Nn)'
164 | gcd(_Mn __m, _Nn __n) noexcept
| ^~~
0_0_39778230_8578.cpp:35:13: note: 'std::vector<long long int> gcd [50015]'
35 | vector<int> gcd[N+10];
| ^~~
0_0_39778230_8578.cpp:73:27: error: reference to 'gcd' is ambiguous
73 | for(int j=0;j<gcd[x].size();j++){
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numeric:164:5: note: candidates are: 'template<class _Mn, class _Nn> constexpr std::common_type_t<_Tp1, _Tp2> std::gcd(_Mn, _Nn)'
164 | gcd(_Mn __m, _Nn __n) noexcept
| ^~~
0_0_39778230_8578.cpp:35:13: note: 'std::vector<long long int> gcd [50015]'
35 | vector<int> gcd[N+10];
| ^~~
0_0_39778230_8578.cpp:74:23: error: reference to 'gcd' is ambiguous
74 | int y=gcd[x][j];
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numeric:164:5: note: candidates are: 'template<class _Mn, class _Nn> constexpr std::common_type_t<_Tp1, _Tp2> std::gcd(_Mn, _Nn)'
164 | gcd(_Mn __m, _Nn __n) noexcept
| ^~~
0_0_39778230_8578.cpp:35:13: note: 'std::vector<long long int> gcd [50015]'
35 | vector<int> gcd[N+10];
| ^~~
|