题目:
https://www.luogu.org/problem/show?pid=1201
虽然最多只有10个人,但仍然发生了hash冲突……
所以,以后能用map就用map!!!!
总结:
1.坑爹字符串题用map;
2.0不能为除数,会RE,以后看到除号要敏感;
#include<iostream>
#include<cstdio>
#include<cstring>
#include<algorithm>
#include<map>
using namespace std;
const int MAXN=1200001