set< pear<int, int> > で、ある数を含む pear を高速に検索する方法ってある?