0_0_36825683_14569.cpp: In function 'bool select(ll)':
0_0_36825683_14569.cpp:35:9: error: 'r' was not declared in this scope
return r == l;
^
0_0_36825683_14569.cpp:35:14: error: 'l' was not declared in this scope
return r == l;
^
0_0_36825683_14569.cpp: In function 'void handle(int, ll, bool, int)':
0_0_36825683_14569.cpp:39:38: error: return-statement with a value, in function returning 'void' [-fpermissive]
if(pos == -1 && select(pre)) return 1;
^
0_0_36825683_14569.cpp:42:53: error: return-statement with a value, in function returning 'void' [-fpermissive]
if(!limit && dp[pos][num] != -1) return dp[pos][num];
^
0_0_36825683_14569.cpp:45:56: error: too few arguments to function 'void handle(int, ll, bool, int)'
tmp += handle(pos - 1, pre * 10 + i, limit && i == up)
^
0_0_36825683_14569.cpp:38:6: note: declared here
void handle(int pos, ll pre, bool limit, int div){
^
0_0_36825683_14569.cpp:48:9: error: return-statement with a value, in function returning 'void' [-fpermissive]
return tmp;
^
|