Problem catteams
User Rolo
Submission Time 2024-08-24 18:39:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catteams.cpp: In function ‘int main()’:
catteams.cpp:10:60: error: no match for ‘operator>’ (operand types are ‘std::vector<std::vector<int> >’ and ‘int’)
10 | vector<vector<vector<int>>> dp(n+1, vector<vector<int>>(2)>(k+1));
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| | |
| | int
| std::vector<std::vector<int> >
In file included from /usr/include/c++/9/regex:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:110,
from catteams.cpp:1:
/usr/include/c++/9/bits/regex.h:1081:5: note: candidate: ‘template<class _BiIter> bool std::__cxx11::operator>(const std::__cxx11::sub_match<_BiIter>&, const std::__cxx11::sub_match<_BiIter>&)’