TopCoder 11379 YetAnotherORProblem / 模拟赛 T3 yet another 计数题
原题:ProblemStatementNOTE:Thisproblemstatementcontainssubscriptsthatmaynotdisplayproperlyifviewedoutsideoftheapplet.You’regivenalong[]RcontainingNelements.CountthenumberofsequencesA0,A1,…,AN-1suchthatea