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
1922
. Superhero Team
WA2
Posted by
andreyDagger
7 Oct 2021 18:48
There are two variants:
1) You forgot to sort the array
2) You forgot that after sorting the array, indexes are messing up
© 2000–2024
Timus Online Judge Team
. All rights reserved.