# 2번째 컴파일 단계
Bob.cpp: In function 'long long int Bob(std::vector<std::pair<int, int> >)':
Bob.cpp:30:42: error: no matching function for call to '__gcd(long long int&, int)'
30 | if(mod>1e18/(edge.second-1)*__gcd(mod,edge.second-1))
| ~~~~~^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:65,
from Bob.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:1199:5: note: candidate: 'template<class _EuclideanRingElement> _EuclideanRingElement std::__gcd(_EuclideanRingElement, _EuclideanRingElement)'
1199 | __gcd(_EuclideanRingElement __m, _EuclideanRingElement __n)
| ^~~~~
/usr/include/c++/11/bits/stl_algo.h:1199:5: note: template argument deduction/substitution failed:
Bob.cpp:30:42: note: deduced conflicting types for parameter '_EuclideanRingElement' ('long long int' and 'int')
30 | if(mod>1e18/(edge.second-1)*__gcd(mod,edge.second-1))
| ~~~~~^~~~~~~~~~~~~~~~~~~