forall i in {1, 2, cdots, m}, S_i ge B_i
Given a sequence {A} A of size {n} n and a sequence {B} B of size {m} m, determine the number of subintervals(called {S} S) of size {m} m in {A} A satisfying forall i in {1, 2, cdots, m}, S_i ge B_i ∀i∈{1,2,⋯,m},S i ≥B i .
(图片来源网络,侵删)