| Problem | barbecue |
|---|---|
| User | chatdanai |
| Submission Time | 2026-07-06 12:22:02 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
barbecue.cpp: In function ‘int main()’:
barbecue.cpp:18:58: error: ‘ll’ was not declared in this scope
18 | sort(dishes[t].begin(), dishes[t].end(), greater<ll>());
| ^~
barbecue.cpp:18:60: error: template argument 1 is invalid
18 | sort(dishes[t].begin(), dishes[t].end(), greater<ll>());
| ^
barbecue.cpp:24:31: error: expected ‘)’ before ‘dishes’
24 | int cnt = min((ll)dishes[t].size(), cap * p);
| ~ ^~~~~~
| )
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