题目
题目链接
题解三行代码。 STL, map, string用法。
代码#include
using namespace std;
string str;
map mp;
int main()
{
while(cin>>str) { mp[str] ++; }
cout
关注
打赏