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 1328. Fireball

that's:
10 10
6
5 5 5 5
my answer is 11.31, and I've drawn the picture, everything is right! could anybody tell me what the standard output is? what's your output?
Dmitry 'Diman_YES' Kovalioff My AC program outputs 45.00 (-) [2] // Problem 1328. Fireball 19 Oct 2004 11:08
Innovative Cat. sorry. i can't log onto icq now. but....... [1] // Problem 1328. Fireball 19 Oct 2004 11:22
I think if the answer is 45.00, the fireball has ALREADY touched B, with only 2 touched of the wall!!!????!!!!
I output "45.00", and passed case 16...faint
Innovative Cat. my friend is adding you via icq now. // Problem 1328. Fireball 19 Oct 2004 11:27
The direction of throw is selected such way that thrown fireball hits the target exactly after N collisions with the room walls. So (N+1)th collision is the collision with the target

I meant that the fireball should NOT touch B during the first N collisions. But in fact, I could. and that touch won't be considered a collision!!!!!!!!!