Main.cc: In function 'int main()':
Main.cc:3:5: error: 'cin' was not declared in this scope
3 | cin>>n>>m;
| ^~~
Main.cc:4:5: error: 'vector' was not declared in this scope
4 | vector<pair<char,vector<int>>> vec;
| ^~~~~~
Main.cc:4:12: error: 'pair' was not declared in this scope
4 | vector<pair<char,vector<int>>> vec;
| ^~~~
Main.cc:4:17: error: expected primary-expression before 'char'
4 | vector<pair<char,vector<int>>> vec;
| ^~~~
Main.cc:9:9: error: 'vec' was not declared in this scope
9 | vec.push_back({s,{a,b,c}});
| ^~~
Main.cc:11:14: error: 'vec' was not declared in this scope
11 | sort(vec.begin(),vec.end(),compare);
| ^~~
Main.cc:11:36: error: 'compare' was not declared in this scope
11 | sort(vec.begin(),vec.end(),compare);
| ^~~~~~~
Main.cc:11:9: error: 'sort' was not declared in this scope; did you mean 'short'?
11 | sort(vec.begin(),vec.end(),compare);
| ^~~~
| short
Main.cc:14:17: error: 'cout' was not declared in this scope
14 | cout<<i.first<<endl;
| ^~~~
Main.cc:14:32: error: 'endl' was not declared in this scope
14 | cout<<i.first<<endl;
| ^~~~
Main.cc:17:13: error: 'cout' was not declared in this scope
17 | cout<<i.first<<' ';
| ^~~~