| 5 | return {3,4}; |
| 6 | } |
| 7 | int main() { |
| 8 | //sorting array vectors of pairs |
| 9 | pair<int, int> p[5]; //an array of 5 pairs |
| 10 | p[0]={1,2}; p[1]={5,2}; p[2]={8,1}; p[3]={1,0}; p[4]={3,4}; |
| 11 | sort(p,p+5); |
| 12 | cout<<p->first<<" "<<p->second; |
| 13 | |
| 14 | return 0; |
| 15 | } |
nothing calls this directly
no outgoing calls
no test coverage detected