Closed ldct closed 4 months ago
You are given an integer sequence a_0, a1, ..., a{N-1} in order. Process the following Q queries:
i, x
a_i <- x
l, r, x
x
(a_l, ... a_r)
LGTM
"Point Set Range Frequency" is suitable name in this online judge, because we already have the similiar problems, and should keep name rules.
作業者募集
You are given an integer sequence a_0, a1, ..., a{N-1} in order. Process the following Q queries:
i, x
: seta_i <- x
l, r, x
: print the number of times thatx
occurs in(a_l, ... a_r)