摘要: 洛谷P2697 宝石串 题目链接 题目大意 给一个只有 \(\texttt{R}\) 和 \(\texttt{G}\) 的字符串,求一个 \(\texttt{R}\) 和 \(\texttt{G}\) 数量相同的区间,输出这个区间的最大长度。 题解 1. 暴力 把所有 \(\texttt{R}\) 阅读全文
posted @ 2021-01-24 19:32 cymrain07 阅读(158) 评论(0) 推荐(0)
\