umap用pair
struct node
{
template<typename T, typename U>
size_t operator()(const pair<T,U>&p)const
{
return hash<T>()(p.first)^hash<U>()(p.second);
}
};
struct node1
{
template<typename T, typename U>
bool operator()(const pair<T,U>&p1,const pair<T,U>&p2)const
{
return p1.first == p2.first&&p1.second == p2.second;
}
};