snake_escaping.cpp: In function 'int main()':
snake_escaping.cpp:20:18: warning: variable 'add' set but not used [-Wunused-but-set-variable]
20 | bool add = true;
| ^~~
snake_escaping.cpp:32:17: error: 'add' was not declared in this scope; did you mean 'std::filesystem::perm_options::add'?
32 | if (add){
| ^~~
| std::filesystem::perm_options::add
In file included from /usr/include/c++/10/filesystem:44,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:129,
from snake_escaping.cpp:1:
/usr/include/c++/10/bits/fs_fwd.h:202:7: note: 'std::filesystem::perm_options::add' declared here
202 | add = 0x2,
| ^~~
snake_escaping.cpp:33:35: error: 'bm' was not declared in this scope; did you mean 'tm'?
33 | ans += toxicities[bm]-'0';
| ^~
| tm