Problem barbecue
User chatdanai
Submission Time 2026-07-06 12:22:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

barbecue.cpp: In function ‘int main()’:
barbecue.cpp:28:19: error: ‘ll’ was not declared in this scope
28 | vector<vector<ll>> dp(K + 1, vector<int>(M + 1, 0));
| ^~
barbecue.cpp:28:19: error: template argument 1 is invalid
barbecue.cpp:28:19: error: template argument 2 is invalid
barbecue.cpp:28:21: error: template argument 1 is invalid
28 | vector<vector<ll>> dp(K + 1, vector<int>(M + 1, 0));
| ^~
barbecue.cpp:28:21: error: template argument 2 is invalid
barbecue.cpp:28:55: error: expression list treated as compound expression in initializer [-fpermissive]
28 | vector<vector<ll>> dp(K + 1, vector<int>(M + 1, 0));
| ^
barbecue.cpp:28:34: error: cannot convert ‘std::vector<long long int>’ to ‘int’ in initialization
28 | vector<vector<ll>>