摘要: max min We have a number sequence $A = (A_1, A_2, \dots, A_N)$ of length $N$ and integers $X$ and $Y$. Find the number of pairs of integers $(L, R)$ s 阅读全文
posted @ 2022-07-16 11:01 seekerHeron 阅读(50) 评论(0) 推荐(0)
摘要: Cards 给定$n$张牌$(1≤N≤2×10^5)$,其正面为数字$P_i$,反面为$Q_i$,$1≤P_i,Q_i≤N$,其中$P=(P_1,\ldots,P_N)$,$Q=(Q_1,\ldots,Q_N)$都是由$(1, 2, \dots, N)$构成的序列。请问有多少种选取方式,使得正面和反 阅读全文
posted @ 2022-07-16 10:57 seekerHeron 阅读(37) 评论(0) 推荐(0)