1381 - Fast Fly

Discussion around the problems of the COJ.
Forum rules
Remember that posting AC code is not allowed here. If you are going to ask a question or to post a solution, describe your algorithm instead. Posting AC code will be penalized.
Post Reply
adrianc
Posts: 19
Joined: 8 years ago
Location: UPR, Cuba
Gender: None specified

1381 - Fast Fly

Post by adrianc » 8 years ago

http://coj.uci.cu/24h/problem.xhtml?abb=1381

I would like to know where does the fly start, cause she could start either by the side of the first cycle or the other, and that could cause two different answers to the same problem...

please give me some light!



User avatar
ReynaldoGil
Posts: 38
Joined: 8 years ago
Location: Santiago de Cuba
Gender: None specified

Re: Problem 1381 Fast Fly

Post by ReynaldoGil » 8 years ago

Assume it starts from the left cycle...
PS: It's the same answer no matter the start point, or isn't this a symmetric situation??

adrianc
Posts: 19
Joined: 8 years ago
Location: UPR, Cuba
Gender: None specified

Re: Problem 1381 Fast Fly

Post by adrianc » 8 years ago

Can we safely assume that the fly is always faster than both cyclists?? i mean m > v1,v2 ...

User avatar
ReynaldoGil
Posts: 38
Joined: 8 years ago
Location: Santiago de Cuba
Gender: None specified

Re: Problem 1381 Fast Fly

Post by ReynaldoGil » 8 years ago

Yep, you should infer that from the problem 1381 Fast Fly

Post Reply

Return to “Problem set”