|
|
back to boardwa2 c++ sort with comparator Posted by majorro 25 Sep 2020 04:51 Why does bool comp(pair<int,int>& a, pair<int,int>& b) { return a.second > b.second; } not AC with common sort? Re: wa2 c++ sort with comparator Posted by xinxer 9 Jan 2024 14:58 You are not following the bubble sort ordering :) |
|
|