0_0_38678042_19882.cpp: In function 'bool dfs(int)':
0_0_38678042_19882.cpp:11:26: error: 'k' was not declared in this scope
11 | for (int j = 1; j <= k && i + j <= n; j++)
| ^
0_0_38678042_19882.cpp:11:40: error: 'n' was not declared in this scope
11 | for (int j = 1; j <= k && i + j <= n; j++)
| ^
|