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 1351. Good Gnusmas – Dead Gnusmas

hint
Posted by BaJIuK 14 Jan 2012 04:02
It's better to count angles like there --> arccos((x1*x2+y1*y2)/(rast(x1,y1)*rast(x2,y2)));
Be carefull when cos is ~1. Good luck!
Re: hint
Posted by b108 12 Jan 2014 11:55
This task can be solved without any operations with float values. Just "*", "+" and "compare" operations with Integers.