implementer.cpp: In function ‘int main()’:
implementer.cpp:60:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
60 | fread(Interactor::rbuf,1,50000000,stdin);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
answer.code: In function ‘int centroid(int, int, int)’:
answer.code:106:27: error: no matching function for call to ‘get(int, int, int)’
106 | return get(1, 2, 3);
| ~~~^~~~~~~~~
In file included from /usr/include/c++/13/bits/stl_algobase.h:64,
from /usr/include/c++/13/algorithm:60,
from answer.code:4:
/usr/include/c++/13/bits/stl_pair.h:1035:5: note: candidate: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(pair<_Tp1, _Tp2>&)’
1035 | get(pair<_Tp1, _Tp2>& __in) noexcept
| ^~~
/usr/include/c++/13/bits/stl_pair.h:1035:5: note: template argument deduction/substitution failed:
answer.code:106:27: note: mismatched types ‘std::pair<_Tp1, _Tp2>’ and ‘int’
106 | return get(1, 2, 3);
| ~~~^~~~~~~~~
/usr/include/c++/13/bits/stl_pair.h:1040:5: note: candidate: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(pair<_Tp1, _Tp2>&&)’
1040 | get(pair<_Tp1, _Tp2>&& __in) noexcept
| ^~~
/usr/include/c++/13/bits/stl_pair.h:1040:5: note: template argument deduction/substitution failed:
answer.code:106:27: note: mismatched types ‘std::pair<_Tp1, _Tp2>’ and ‘int’
106 | return get(1, 2, 3);
| ~~~^~~~~~~~~
/usr/include/c++/13/bits/stl_pair.h:1045:5: note: candidate: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const pair<_Tp1, _Tp2>&)’
1045 | get(const pair<_Tp1, _Tp2>& __in) noexcept
| ^~~
/usr/include/c++/13/bits/stl_pair.h:1045:5: note: template argument deduction/substitution failed:
answer.code:106:27: note: mismatched types ‘const std::pair<_Tp1, _Tp2>’ and ‘int’
106 | return get(1, 2, 3);
| ~~~^~~~~~~~~
/usr/include/c++/13/bits/stl_pair.h:1050:5: note: candidate: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(const pair<_Tp1, _Tp2>&&)’
1050 | get(const pair<_Tp1, _Tp2>&& __in) noexcept
| ^~~
/usr/include/c++/13/bits/stl_pair.h:1050:5: note: template argument deduction/substitution failed:
answer.code:106:27: note: mismatched types ‘const std::pair<_Tp1, _Tp2>’ and ‘int’
106 | return get(1, 2, 3);
| ~~~^~~~~~~~~
/usr/include/c++/13/bits/stl_pair.h:1059:5: note: candidate: ‘template<class _Tp, class _Up> constexpr _Tp& std::get(pair<_T1, _T2>&)’
1059 | get(pair<_Tp, _Up>& __p) noexcept
| ^~~
/usr/include/c++/13/bits/stl_pair.h:1059:5: note: template argument deduction/substitution failed:
answer.code:106:27: note: mismatched types ‘std::pair<_T1, _T2>’ and ‘int’
106 | return get(1, 2, 3);
| ~~~^~~~~~~~~
/usr/include/c++/13/bits/stl_pair.h:1064:5: note: candidate: ‘template<class _Tp, class _Up> constexpr const _Tp& std::get(const pair<_T1, _T2>&)’
1064 | get(const pair<_Tp, _Up>& __p) noexcept
| ^~~
/usr/include/c++/13/bits/stl_pair.h:1064:5: note: template argument deduction/substitution failed:
answer.code:106:27: note: mismatched types ‘const std::pair<_T1, _T2>’ and ‘int’
106 | return get(1, 2, 3);
| ~~~^~~~~~~~~
/usr/include/c++/13/bits/stl_pair.h:1069:5: note: candidate: ‘template<class _Tp, class _Up> constexpr _Tp&& std::get(pair<_T1, _T2>&&)’
1069 | get(pair<_Tp, _Up>&& __p) noexcept
| ^~~
/usr/include/c++/13/bits/stl_pair.h:1069:5: note: template argument deduction/substitution failed:
answer.code:106:27: note: mismatched types ‘std::pair<_T1, _T2>’ and ‘int’
106 | return get(1, 2, 3);
| ~~~^~~~~~~~~
/usr/include/c++/13/bits/stl_pair.h:1074:5: note: candidate: ‘template<class _Tp, class _Up> constexpr const _Tp&& std::get(const pair<_T1, _T2>&&)’
1074 | get(const pair<_Tp, _Up>&& __p) noexcept
| ^~~
/usr/include/c++/13/bits/stl_pair.h:1074:5: note: template argument deduction/substitution failed:
answer.code:106:27: note: mismatched types ‘const std::pair<_T1, _T2>’ and ‘int’
106 | return get(1, 2, 3);
| ~~~^~~~~~~~~
/usr/include/c++/13/bits/stl_pair.h:1079:5: note: candidate: ‘template<class _Tp, class _Up> constex...