| 记录编号 | 432049 | 评测结果 | AAAAAAAAAA | ||
|---|---|---|---|---|---|
| 题目名称 | 2769.mk去撸串 | 最终得分 | 100 | ||
| 用户昵称 | 是否通过 | 通过 | |||
| 代码语言 | C++ | 运行时间 | 0.104 s | ||
| 提交时间 | 2017-08-02 19:27:34 | 内存使用 | 0.57 MiB | ||
#include <fstream>
#include "string"
#include "map"
using namespace std;
ifstream cin("string_.in");
ofstream cout("string_.out");
int n;
map<string,int> m;
string s;
int ans;
int cyf()
{
cin >> n;
while(n--)
{
cin >> s;
ans = max(++m[s],ans);
}
cout << ans << endl;
cin.close();
cout.close();
return 0;
}
int hhhh = cyf();
int main() {;}