?
by 小个子 @ 2020-04-18 13:44:39
奇怪的知识增加了!??
by SIXIANG32 @ 2020-04-18 13:45:40
@[SIXIANG](/user/298549) %%%
by _JEB_ @ 2020-04-18 13:51:42
@[SIXIANG](/user/298549) 要包iomanip吧
by yuyc @ 2020-04-18 13:53:14
~~改成true~~
by iCantPlayLN @ 2020-04-18 13:55:33
@[封禁用户名239562](/user/239562) 不会吧……这个没有用到iomanip啊,map就够了……
by SIXIANG32 @ 2020-04-18 13:56:42
@[不优秀](/user/226919) 什么意思???
by SIXIANG32 @ 2020-04-18 13:56:57
```cpp
#include <iostream>
#include <map>
using namespace std;
int n;
map <string,int> mp;
int main()
{
string s;
cin>>n;
while(n--)
{
cin>>s;
if(mp[s]++)
cout<<s<<mp[s] - 1<<endl;
else
cout<<"OK"<<endl;
}
return 0;
}
```
by mnesia @ 2020-04-18 13:57:18
@[SIXIANG](/user/298549) 自己看一下,不可能那么麻烦
by mnesia @ 2020-04-18 13:57:37
@[mnesia](/user/115711) 不是我的重点是``` ios::sync_with_stdio(false);```诶,我AC了……
by SIXIANG32 @ 2020-04-18 13:59:12