Atcoder contest 366 Problem E

Правка en1, от SeniorLikeToCode, 2024-09-06 20:45:18

Problem Link

while solving this question I can not visualize ho this part actually work

f(x) = f(x — 1) + (no. of element <= x) — (no. of element > x)

using this idea then we apply sliding window to find the answer.

Need some clarity or better editorial for this question.

taging people who I know make tutorials. [user:aryanc403][user:Shayan]

Теги #help

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский SeniorLikeToCode 2024-09-06 20:45:48 23 Tiny change: 'aryanc403][user:Shay' -> 'aryanc403] [user:Shay'
en1 Английский SeniorLikeToCode 2024-09-06 20:45:18 454 Initial revision (published)