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 1574. Mathematicians and brackets

O(n) time, O(1) memory
Posted by vlyubin 8 Feb 2012 08:05
O(n) time complexity, O(1) memory complexity, the basic idea fits in 15 lines of code (maybe even 10)...