0_0_26111713_2838.cpp: In function 'long long int dfs(int, int, int, int)':
0_0_26111713_2838.cpp:29:25: error: 'state' was not declared in this scope
if (!lim && dp[it][fa][state] != -1)
^
0_0_26111713_2838.cpp:36:6: error: 'state' was not declared in this scope
if (state)
^
0_0_26111713_2838.cpp:57:10: error: 'state' was not declared in this scope
dp[it][state][state] = ans;
^
|