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 1271. Sailing Directions

This problem is superior! (+)
Posted by Dmitry 'Diman_YES' Kovalioff 25 Jun 2004 22:42
At last! Finally! AC - I've done it! My ultra-optimized program (15 kBytes) has passed all the tests (22 or more!) within 0.593 sec (maximal time on 8-th test with N=40). During almost a week I've been trying to solve it - and now success! I really think this problem is one of the best on Ural, and one of the several from thousands I really proud to solve - bright idea, need for strict optimization and very tricky tests (especially 16 and 22). Just try to solve it - and feel the power of your brain!
Re: This problem is superior! (+)
Posted by GaLL 4 Feb 2006 11:52
Yes, this problem is REALLY superior! I was forced to use __int64-calculations to avoid error in precision, so 0.921 sec. There is 10 tasks in one! #1271 is the best on Timus!