| 16 | |
| 17 | using namespace std; |
| 18 | signed main(){ |
| 19 | map<string,int> m; |
| 20 | int n; |
| 21 | cin>>n; |
| 22 | fr(i,0,n){ |
| 23 | string s; |
| 24 | cin>>s; |
| 25 | m[s]++; |
| 26 | } |
| 27 | for(auto it:m) |
| 28 | cout<<it.first<<" "<<it.second<<endl; |
| 29 | |
| 30 | |
| 31 | |
| 32 | return 0; |
| 33 | } |
nothing calls this directly
no outgoing calls
no test coverage detected