Optimal Subsequence Deletion for Monotonic Targets: CodeForces 1334F
In this problem, we are given an array $a$ of length $n$ and a target array $b$ of length $m$. Each element $a_i$ has an associated deletion cost $p_i$. We need to find the minimum cost to transform $a$ in to $b$ using a specific "strange function" $f(a)$, or determine if it is impossible.
Condition Analysis
The function $f(a)$ genera ...
Posted on Tue, 12 May 2026 14:29:23 +0000 by dr bung