Problem hdb
User PlayVoltz
Submission Time 2023-11-22 14:18:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hdb.cpp: In function ‘int32_t main()’:
hdb.cpp:29:9: error: request for member ‘resize’ in ‘stairs’, which is of non-class type ‘std::vector<long long int> [100005]’
29 | stairs.resize(n);
| ^~~~~~
hdb.cpp:30:5: error: request for member ‘resize’ in ‘dp’, which is of non-class type ‘std::vector<long long int> [100005]’
30 | dp.resize(n);
| ^~~~~~