set<pair<int,int> >map<int,int>有什么区别吗

1 comments

  • @ 2025-10-12 20:29:57

    set是统一vvalue的map,只对key排序。pair本身实现双关键字operator <

    • 1