Problem numbers
User haydendoo
Submission Time 2023-02-22 11:37:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

numbers.cpp: In function ‘ll memo(ll, ll, ll, bool)’:
numbers.cpp:77:11: error: ‘leadzero’ was not declared in this scope
77 | if (leadzero && q==0) {ans += memo(curr+1, 11, 11, false);}
| ^~~~~~~~
numbers.cpp:82:41: error: too many arguments to function ‘ll memo(ll, ll, ll, bool)’
82 | ans += memo(curr+1,ig,last,true,ig==0);
| ^
numbers.cpp:67:4: note: declared here
67 | ll memo(ll curr, ll last, ll slast, bool bounded) {
| ^~~~
numbers.cpp:86:11: error: ‘leadzero’ was not declared in this scope
86 | if (leadzero && q == 0) {ans += memo(curr+1, 11, 11, false);}
| ^~~~~~~~