Main.cpp: In function 'void solve(long long int, std::vector<long long int>, long long int)':
Main.cpp:93:33: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
93 | for(int i = 0 ; e.size()>i ; i++)
| ~~~~~~~~^~
Main.cpp:95:39: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
95 | for(int j = i+1 ; e.size()>j ; j++)
| ~~~~~~~~^~
Main.cpp:97:24: error: reference to 'gcd' is ambiguous
97 | if(cnt[gcd[e[i]][e[j]]]==0)
| ^~~
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:84,
from Main.cpp:1:
/usr/include/c++/10/numeric:131:5: note: candidates are: 'template<class _Mn, class _Nn> constexpr std::common_type_t<_Mn, _Nn> std::gcd(_Mn, _Nn)'
131 | gcd(_Mn __m, _Nn __n)
| ^~~
Main.cpp:81:4: note: 'long long int gcd [9][9]'
81 | ll gcd[9][9];
| ^~~
Main.cpp: In function 'int main()':
Main.cpp:124:13: error: reference to 'gcd' is ambiguous
124 | gcd[i][j]=__gcd(i,j);
| ^~~
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:84,
from Main.cpp:1:
/usr/include/c++/10/numeric:131:5: note: candidates are: 'template<class _Mn, class _Nn> constexpr std::common_type_t<_Mn, _Nn> std::gcd(_Mn, _Nn)'
131 | gcd(_Mn __m, _Nn __n)
| ^~~
Main.cpp:81:4: note: 'long long int gcd [9][9]'
81 | ll gcd[9][9];
| ^~~