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 1079. Maximum

Nice sequence
Posted by candide 13 Jul 2013 05:47
You can solve the question very fast with appropriate precomputed values.
The sequence is known as the Stern-Brocot sequence, I was not aware of it before!
Re: Nice sequence
Posted by Shahriar Siddique 17 May 2019 12:30
Thanks
Re: Nice sequence
Posted by dimitrius 12 Jul 2019 04:18
Thanks