/in/foo.cc: In function 'int main()':
/in/foo.cc:28:11: error: 'm' was not declared in this scope
cin>>m>>k>>s;
^
/in/foo.cc:28:17: error: 's' was not declared in this scope
cin>>m>>k>>s;
^
/in/foo.cc:29:3: error: 'len' was not declared in this scope
len=s[i].size();
^~~
/in/foo.cc:34:7: error: 'len' was not declared in this scope
if(len[j+1]>len[j])
^~~
/in/foo.cc:37:10: error: 'm' was not declared in this scope
swap(m[j+1],m[j]);
^
/in/foo.cc:38:10: error: 's' was not declared in this scope
swap(s[j+1],s[j]);
^
/in/foo.cc:42:9: error: 's' was not declared in this scope
if(s[k+1]>s[k])
^
/in/foo.cc:45:18: error: 'm' was not declared in this scope
swap(m[k+1],m[k]);
^
/in/foo.cc:50:9: error: 'm' was not declared in this scope
cout<<m[i]<<endl;
^