ENG  RUSTimus 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

BUBBLE_SORT?
Posted by АРТЕМ 2 Aug 2019 03:57
Hi, why is a problem author talking about bubble sort? And why a lot using stl stable_sort? Where is a differents of stl sort?
Re: BUBBLE_SORT?
Posted by 👨‍💻tproger👨‍💻[GTGU] 2 Aug 2019 16:43
std::stable_sort is "stable" https://en.wikipedia.org/wiki/Category:Stable_sorts, while std::sort is "unstable".