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 1578. Mammoth Hunt

How to solve?
Posted by VasilySlesarev 8 May 2009 16:10
I can suggest only bruteforce.

Edited by author 08.05.2009 16:12
Re: How to solve?
Posted by Vedernikoff Sergey (HSE: АОП) 8 May 2009 16:39
If you can suggest - then try! =)
Re: How to solve?
Posted by VasilySlesarev 8 May 2009 19:54
I think, it will be TLE.
Re: How to solve?
Posted by Vedernikoff Sergey (HSE: АОП) 8 May 2009 20:52
Sometimes in sportcoding it's better not to think =)
Re: How to solve?
Posted by Samsonov Alex [USU] 10 May 2009 00:30
This problem has elegant solution which is very easy to code. Try to find it.
Re: How to solve?
Posted by VasilySlesarev 13 May 2009 06:00
Thank you very much.
I have found the solution.
This problem is beautiful.