lundi 16 septembre 2019

How to count pair are unique or not using stl

i want to count whether there are same pair using stl function pair

if r=2

pair < int,int > a;
   for(int i=0;i<r;i++){
        std::cin>>a.first;
        std::cin>>a.second;
   }

now how to compare

Aucun commentaire:

Enregistrer un commentaire