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 1093. Darts

IMPORTANT FOR ALL SOLVERS OF THE PROBLEM
Posted by Victor Costan 7 Aug 2002 13:35
    A person knowing elementary physics may think that, if the
dart touches the board, it gets stuck in it.

    Well, the one that wrote this problem failed to consider
this: you'll usually get an equation depeding of t^2. If it has two
positive solutions, you must report "HIT", if for any of them the
dart is inside the board.

    I got stuck with this for 3 days - if I had two positive
solutions, I only checked for the smaller one, and considered the
dart stays there (reality check!!)... well, looks like the dart can
very well get through the board, and then get back in it.