bitaro.cpp: In function 'void solve()':
bitaro.cpp:11:43: error: template argument 1 is invalid
11 | vector<pair<int, vector<int>> ww(q);
| ^
bitaro.cpp:11:43: error: template argument 2 is invalid
bitaro.cpp:19:24: error: 'ww' was not declared in this scope
19 | cin >> ww[i].F;
| ^~
bitaro.cpp:54:27: error: no match for 'operator[]' (operand types are 'long long int [n]' and '__gnu_cxx::__alloc_traits<std::allocator<std::vector<long long int> >, std::vector<long long int> >::value_type' {aka 'std::vector<long long int>'})
54 | dp[got[j]] = max(dp[got[j]], dp[i]+1);
| ^
bitaro.cpp:54:44: error: no match for 'operator[]' (operand types are 'long long int [n]' and '__gnu_cxx::__alloc_traits<std::allocator<std::vector<long long int> >, std::vector<long long int> >::value_type' {aka 'std::vector<long long int>'})
54 | dp[got[j]] = max(dp[got[j]], dp[i]+1);
| ^
bitaro.cpp:58:20: error: 'ww' was not declared in this scope
58 | cout << dp[ww[0].F-1] << endl;
| ^~