ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
1100
. Final Standings
Show all messages
Hide all messages
wa2 c++ sort with comparator
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
xinxer
9 Jan 2024 14:58
You are not following the bubble sort ordering :)
© 2000–2024
Timus Online Judge Team
. All rights reserved.