0_0_33547186_6085.cpp:264:8: error: 'item' was not declared in this scope
vector<item> x[60];
^
0_0_33547186_6085.cpp:264:12: error: template argument 1 is invalid
vector<item> x[60];
^
0_0_33547186_6085.cpp:264:12: error: template argument 2 is invalid
0_0_33547186_6085.cpp:264:19: error: invalid type in declaration before ';' token
vector<item> x[60];
^
0_0_33547186_6085.cpp: In function 'void init()':
0_0_33547186_6085.cpp:271:14: error: request for member 'clear' in 'x[i]', which is of non-class type 'int'
x[i].clear();
^
0_0_33547186_6085.cpp: In function 'll dfs(int, ll, ll, ll, ll)':
0_0_33547186_6085.cpp:284:30: error: request for member 'size' in 'x[id.std::vector<_Tp, _Alloc>::operator[]<int, std::allocator<int> >(((std::vector<int>::size_type)con))]', which is of non-class type 'int'
for(int i=0;i<x[id[con]].size();i++)
^
0_0_33547186_6085.cpp:286:45: error: invalid types 'int[int]' for array subscript
ans=max(ans,dfs(con+1,a+x[id[con]][i].a,b+x[id[con]][i].b,c+x[id[con]][i].c,d+x[id[con]][i].d));
^
0_0_33547186_6085.cpp:286:63: error: invalid types 'int[int]' for array subscript
ans=max(ans,dfs(con+1,a+x[id[con]][i].a,b+x[id[con]][i].b,c+x[id[con]][i].c,d+x[id[con]][i].d));
^
0_0_33547186_6085.cpp:286:81: error: invalid types 'int[int]' for array subscript
ans=max(ans,dfs(con+1,a+x[id[con]][i].a,b+x[id[con]][i].b,c+x[id[con]][i].c,d+x[id[con]][i].d));
^
0_0_33547186_6085.cpp:286:99: error: invalid types 'int[int]' for array subscript
ans=max(ans,dfs(con+1,a+x[id[con]][i].a,b+x[id[con]][i].b,c+x[id[con]][i].c,d+x[id[con]][i].d));
^
0_0_33547186_6085.cpp: In function 'void solve()':
0_0_33547186_6085.cpp:302:16: error: request for member 'push_back' in 'x[con]', which is of non-class type 'int'
x[con].push_back({read(),read(),read(),read()});
^
0_0_33547186_6085.cpp:306:18: error: request for member 'empty' in 'x[i]', which is of non-class type 'int'
if(!x[i].empty())
^
|