CF1728D Letter Picking 题解

传送门:Letter Picking

给定一个长度是$n(n \leq 2000 \text{并且} n \text{是偶数})$的字符串$S$,Alice和Bob轮流从这个字符串的头或者尾取一个字符加在自己的字符串的头部,Alice先手,最后谁的字符串字典序小,谁就获胜。

那么谁能获胜呢?

Read more
Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×