lundi 3 octobre 2016

sorting two vectors using c++ with condition

I have two vectors vector a and vector b and I want to sort them both with the condition that a[i]/b[i]>a[i+1]/b[b+1]. How do I implement the code in C++ for that?

Aucun commentaire:

Enregistrer un commentaire