/in/foo.cc: In function 'int main()':
/in/foo.cc:27:11: error: 'm' was not declared in this scope
cin>>m>>s;
^
/in/foo.cc:27:14: error: 's' was not declared in this scope
cin>>m>>s;
^
/in/foo.cc:28:3: error: 'len' was not declared in this scope
len=s[i].size();
^~~
/in/foo.cc:33:7: error: 'len' was not declared in this scope
if(len[j+1]>len[j])
^~~
/in/foo.cc:36:10: error: 'm' was not declared in this scope
swap(m[j+1],m[j]);
^
/in/foo.cc:37:10: error: 's' was not declared in this scope
swap(s[j+1],s[j]);
^
/in/foo.cc:41:9: error: 's' was not declared in this scope
if(s[k+1]>s[k])
^
/in/foo.cc:44:18: error: 'm' was not declared in this scope
swap(m[k+1],m[k]);
^
/in/foo.cc:49:9: error: 'm' was not declared in this scope
cout<<m[i]<<endl;
^