snake_escaping.cpp: In function 'int main()':
snake_escaping.cpp:6:6: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
6 | scanf("%d%d",&n,&q);
| ~~~~~^~~~~~~~~~~~~~
snake_escaping.cpp:7:6: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | scanf("%s",s);
| ~~~~~^~~~~~~~
snake_escaping.cpp:9:6: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | scanf("%s",op);
| ~~~~~^~~~~~~~~