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