QOJ.ac

QOJ

Type: Editorial

Status: Open

Posted by: jiangly

Posted at: 2025-12-12 23:27:54

Last updated: 2025-12-12 23:27:58

Back to Problem

New Editorial for Problem #6636

有解当且仅当 $b_{i-1}\le b_i\le b_{i-1}+1$(设 $b_0=0$)。构造只需要取 $b$ 本身即可。

Comments

No comments yet.