CF1175F The Number of Subpermutations 【笛卡尔树,随机化】

CF1175F The Number of Subpermutations 【笛卡尔树,随机化】
原文地址:https://www.cnblogs.com/AThousandMoons/p/12675781.html