Problem famishedcats
User Sheb
Submission Time 2026-04-27 17:33:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

famishedcats.cpp: In function ‘int32_t main()’:
famishedcats.cpp:16:38: error: no matching function for call to ‘std::pair<std::vector<long long int>, std::vector<long long int> >::pair(long long int)’
16 | pa<vec<int>, vec<int>> Houses(N+1);
| ^
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from famishedcats.cpp:1:
/usr/include/c++/9/bits/stl_pair.h:436:9: note: candidate: ‘template<class ... _Args1, long unsigned int ..._Indexes1, class ... _Args2, long unsigned int ..._Indexes2> std::pair<_T1, _T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, std::_Index_tuple<_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...&