snake_escaping.cpp: In function 'void do_dp(int)':
snake_escaping.cpp:75:32: error: 'po2' was not declared in this scope
if(oops[i]) cnt[i]=val[value*po2[R]+pos[i]];
^~~
snake_escaping.cpp:75:32: note: suggested alternative: 'pos'
if(oops[i]) cnt[i]=val[value*po2[R]+pos[i]];
^~~
pos
snake_escaping.cpp: In function 'void back_track(int)':
snake_escaping.cpp:97:8: error: 'po2' was not declared in this scope
lval+=po2[bit];
^~~
snake_escaping.cpp:97:8: note: suggested alternative: 'pos'
lval+=po2[bit];
^~~
pos
snake_escaping.cpp: In function 'int main()':
snake_escaping.cpp:155:9: error: 'po2' was not declared in this scope
po3[0]=po2[0]=1;
^~~
snake_escaping.cpp:155:9: note: suggested alternative: 'pos'
po3[0]=po2[0]=1;
^~~
pos
snake_escaping.cpp:161:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&l,&q);
~~~~~^~~~~~~~~~~~~~~
snake_escaping.cpp:165:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s);
~~~~~^~~~~~~~
snake_escaping.cpp:171:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s+20-l);
~~~~~^~~~~~~~~~~~~