# 2번째 컴파일 단계
Bob.cpp: In function 'int gcd_r(int, int, int&, int&)':
Bob.cpp:11:16: error: no matching function for call to 'gcd(int&, int, int&, int&)'
11 | int g = gcd(b, a%b, x, y);
| ~~~^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:58,
from Bob.cpp:2:
/usr/include/c++/13/numeric:164:5: note: candidate: 'template<class _Mn, class _Nn> constexpr std::common_type_t<_Tp1, _Tp2> std::gcd(_Mn, _Nn)'
164 | gcd(_Mn __m, _Nn __n) noexcept
| ^~~
/usr/include/c++/13/numeric:164:5: note: template argument deduction/substitution failed:
Bob.cpp:11:16: note: candidate expects 2 arguments, 4 provided
11 | int g = gcd(b, a%b, x, y);
| ~~~^~~~~~~~~~~~~~
Bob.cpp: In function 'long long int Bob(std::vector<std::pair<__int128, __int128> >)':
Bob.cpp:34:17: error: no matching function for call to 'gcd(std::tuple_element<1, std::pair<__int128, __int128> >::type&, std::tuple_element<1, std::pair<__int128, __int128> >::type&, int&, int&)'
34 | gg = gcd(a1, a2, x, y);
| ~~~^~~~~~~~~~~~~~
/usr/include/c++/13/numeric:164:5: note: candidate: 'template<class _Mn, class _Nn> constexpr std::common_type_t<_Tp1, _Tp2> std::gcd(_Mn, _Nn)'
164 | gcd(_Mn __m, _Nn __n) noexcept
| ^~~
/usr/include/c++/13/numeric:164:5: note: template argument deduction/substitution failed:
Bob.cpp:34:17: note: candidate expects 2 arguments, 4 provided
34 | gg = gcd(a1, a2, x, y);
| ~~~^~~~~~~~~~~~~~
Bob.cpp:42:26: error: expression cannot be used as a function
42 | return v.back().first();
| ~~~~~~~~~~~~~~^~