SNOI2019 字符串 题解

$\text{Description}$

给定一个字符串 $s[1\cdots n]$,定义字符串 $s_i$ 为 $s[1\cdots i-1]+s[i+1\cdots n]$,试为 $s_1,s_2,\cdots,s_n$ 排序。

$n\le 10^6$

SNOI2019 数论 题解

$\text{Description}$

给定 $T,P,Q$ 和大小为 $n$ 的集合 $A$ 与大小为 $m$ 的集合 $B$,求:

$T\le 10^{18},P,Q,n,m\le 10^6$

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×