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
1934
. Black Spot
[Hint] If you got WA 2
Posted by
hadooken
10 Dec 2019 13:21
You need to minimize number of visited islands firstly.
Test:
3 3
1 3
1 3 99
1 2 0
2 3 0
Answer:
2 0.99
1 3
© 2000–2024
Timus Online Judge Team
. All rights reserved.