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 1346. Intervals of Monotonicity

small hint
Posted by md 1 May 2005 18:45
Remove repetitions before applying your algo i.e.: sequences like 2 1 2 2 2 2 1 change into 2 1 2 1
It helped me with WA#21
Re: small hint
Posted by SkorKNURE 4 Dec 2008 15:53
Yep. For understanding why, lets consider:
1 7
3 2 1 4 4 5
Re: small hint
Posted by Alexandru Peticaru 4 Nov 2017 16:54
They should  be 7 numbers in the list!