Problem biscuits
User PlayVoltz
Submission Time 2024-11-18 12:45:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

biscuits.cpp:11:40: error: ‘vector’ has not been declared
11 | long long count_tastiness(long long x, vector<long long> a){
| ^~~~~~
biscuits.cpp:11:46: error: expected ‘,’ or ‘...’ before ‘<’ token
11 | long long count_tastiness(long long x, vector<long long> a){
| ^
biscuits.cpp: In function ‘long long int count_tastiness(long long int, int)’:
biscuits.cpp:12:9: error: ‘a’ was not declared in this scope
12 | while (a.size()<=60)a.push_back(0);
| ^
biscuits.cpp:13:2: error: ‘vector’ was not declared in this scope
13 | vector<int> psum(65, a[0]), dp(65, 0);
| ^~~~~~
biscuits.cpp:13:2: note: suggested alternatives:
In file included from /usr/include/c++/9/vector:67,
from biscuits.h:1,
from biscuits.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: n