/in/foo.cc:7:12: error: variable or field 'zhuan' declared void
void zhuan(string s,int a[]){
^
/in/foo.cc:7:12: error: 'string' was not declared in this scope
/in/foo.cc:7:21: error: expected primary-expression before 'int'
void zhuan(string s,int a[]){
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:32:5: error: 'string' was not declared in this scope
string s;
^
/in/foo.cc:33:5: error: 'cin' was not declared in this scope
cin>>r>>s;
^
/in/foo.cc:33:13: error: 's' was not declared in this scope
cin>>r>>s;
^
/in/foo.cc:34:14: error: 'zhuan' was not declared in this scope
zhuan(s,a);
^
/in/foo.cc:39:17: error: 'cout' was not declared in this scope
if (cnt<30) cout<<"STEP="<<cnt<<endl;
^
/in/foo.cc:39:37: error: 'endl' was not declared in this scope
if (cnt<30) cout<<"STEP="<<cnt<<endl;
^
/in/foo.cc:40:10: error: 'cout' was not declared in this scope
else cout<<"Impossible!"<<endl;
^
/in/foo.cc:40:31: error: 'endl' was not declared in this scope
else cout<<"Impossible!"<<endl;
^