Problem funnyballs
User sleepyfishy
Submission Time 2025-12-01 13:22:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

funnyballs.cpp:7:1: error: ‘ma’ does not name a type; did you mean ‘fma’?
7 | ma vector<int>>> memo;
| ^~
| fma
funnyballs.cpp: In function ‘std::pair<long long int, std::vector<int> > dp(int, int, int, int)’:
funnyballs.cpp:13:8: error: ‘memo’ was not declared in this scope
13 | if(memo.count(key)) return memo[key];
| ^~~~
funnyballs.cpp:33:12: error: ‘memo’ was not declared in this scope
33 | return memo[key] = {best_sum, best_seq};
| ^~~~