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 2063. Black and White

Ultimate hint
Posted by Kergan 14 Nov 2022 16:44
I'll just combine two previous hints.
Use bubble sort and THEN use random.
Re: Ultimate hint
Posted by Sayfer 27 May 2023 11:53
Use bubble sort and THEN assert that the balls are the same color in (n / 2) and (n / 2 + 1)