Problem evolution
User Pan
Submission Time 2024-08-31 12:02:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evolution.cpp: In function ‘int main()’:
evolution.cpp:8:12: error: request for member ‘push_back’ in ‘(& child.std::vector<std::vector<long long int> >::operator[](((std::vector<std::vector<long long int> >::size_type)now)))->std::vector<long long int>::operator[](((std::vector<long long int>::size_type)pos))’, which is of non-class type ‘__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type’ {aka ‘long long int’}
8 | #define pb push_back
| ^~~~~~~~~
evolution.cpp:64:26: note: in expansion of macro ‘pb’
64 | else child[now][pos].pb(dpnow);
| ^~