game.cpp: In function 'bool dfs(long long int)':
game.cpp:15:25: error: 'i' was not declared in this scope
15 | if(df[u]==1) return i>=k;
| ^
game.cpp:15:28: error: 'k' was not declared in this scope
15 | if(df[u]==1) return i>=k;
| ^
game.cpp: In function 'void init(int, int)':
game.cpp:27:5: error: 'n' was not declared in this scope
27 | n=N;
| ^
game.cpp:28:5: error: 'k' was not declared in this scope
28 | k=K;
| ^
game.cpp: In function 'int add_teleporter(int, int)':
game.cpp:35:18: error: 'n' was not declared in this scope
35 | for(ll i=0;i<n;i++) df[i]=0;
| ^