ENG
RUS
Timus 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
1605
. Devil's Sequence
I can't believe, but it was right idea!
Posted by
[RISE] Levon Oganesyan [RAU]
30 May 2014 02:44
I have AC in O(1), I use 2 formulas for odd and even n.
Good problem, thanks to author!
Re: I can't believe, but it was right idea!
Posted by
[RISE] Levon Oganesyan [RAU]
1 Aug 2014 12:33
Now I combining both formulas in one.
© 2000–2024
Timus Online Judge Team
. All rights reserved.