CodeForces - 1084C The Fair Nut and String(简单DP)

题目连接:https://cn.vjudge.net/problem/CodeForces-1084Cc++ 题目大意:spa 给你一个由小写字母组成的字符串 s ,让你找一种序列:.net 一、对于任意一个 i ,使得 s[ p[ i ] ] == 'a'code 二、对于任意一个 i ,存在 p[ i ] < j < p[i + 1],且s[ p[ i ] ] == 'b'字符串 求这种序列有
相关文章
相关标签/搜索