/in/foo.cc:1:2: error: invalid preprocessing directive #inc
#inc#include<bits/stdc++.h>
^~~
/in/foo.cc:4:1: error: 'string' does not name a type
string st;
^~~~~~
/in/foo.cc: In function 'void zhongjianshu()':
/in/foo.cc:20:26: error: 'memset' was not declared in this scope
memset(ans,0,sizeof(ans));
^
/in/foo.cc: In function 'bool pd()':
/in/foo.cc:39:28: error: 'memset' was not declared in this scope
memset(ans1,0,sizeof(ans1));sp1=0;
^
/in/foo.cc:94:9: error: 'st' was not declared in this scope
if(spn<st.size()) return true;
^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:106:2: error: 'cin' was not declared in this scope
cin>>st;
^~~
/in/foo.cc:106:7: error: 'st' was not declared in this scope
cin>>st;
^~
/in/foo.cc:136:21: error: 'cout' was not declared in this scope
for(i=sr;i>=1;i--) cout<<r[i];
^~~~