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 1653. Death Conveyor

Could somebody explain the sample to me?
Posted by Vedernikoff Sergey (HSE: АОП) 26 Apr 2009 22:48
How do we get the answer 1.78? Which angle do we rotate the star by at every step? My program outputs the following angles:

1.2309594173
0.9654637454
0.6737614519
0.5281218484
0.4721787343

which give the answer 3.8704851972
Angles:
Posted by OpenGL 27 Apr 2009 17:41
0.000000000
0.445561254
0.445561254
0.445561254
0.445561254

I think, your mistake that: "Each of the following n lines contains the vector of the attack". It mean, if vector of attack (0,0,-1), attack goes from (0,0,1). Good luck!

Edited by author 27.04.2009 17:59
Re: Angles:
Posted by Vedernikoff Sergey (HSE: АОП) 27 Apr 2009 19:21
OMG! Thank you very much, now it should be AC.