0_0_16213456_17430.cpp: In function 'int dfs(int, int, bool)':
0_0_16213456_17430.cpp:2:25: error: 'target_s' was not declared in this scope
if(i==-1) return s==target_s;
^
0_0_16213456_17430.cpp:3:15: error: 'f' was not declared in this scope
if(!e && ~f[i][s]) return f[i][s];
^
0_0_16213456_17430.cpp:4:5: error: 'intres' was not declared in this scope
intres = 0;
^
0_0_16213456_17430.cpp:5:5: error: 'intu' was not declared in this scope
intu = e?num[i]:9;
^
0_0_16213456_17430.cpp:5:14: error: 'num' was not declared in this scope
intu = e?num[i]:9;
^
0_0_16213456_17430.cpp:6:17: error: 'first' was not declared in this scope
for(int d = first?1:0; d <= u; ++d)
^
0_0_16213456_17430.cpp:6:33: error: 'u' was not declared in this scope
for(int d = first?1:0; d <= u; ++d)
^
0_0_16213456_17430.cpp:7:8: error: 'res' was not declared in this scope
res += dfs(i-1, new_s(s, d), e&&d==u);
^
0_0_16213456_17430.cpp:7:34: error: 'new_s' was not declared in this scope
res += dfs(i-1, new_s(s, d), e&&d==u);
^
0_0_16213456_17430.cpp:8:13: error: 'res' was not declared in this scope
return e?res:f[i][s]=res;
^
0_0_16213456_17430.cpp:8:17: error: 'f' was not declared in this scope
return e?res:f[i][s]=res;
^
|