思考
首先题目已经提示的很明显了,最长不降子序列。但是把字符串转换成数组就需要一定的技巧。在这里我用的map<char,int> 每个字符串映射一个数字
#include#include #include #include #include
吐槽
tvvj的评测姬终于不搞事情了,之前每次提交不是 Runing 就是 System error....
本文共 713 字,大约阅读时间需要 2 分钟。
首先题目已经提示的很明显了,最长不降子序列。但是把字符串转换成数组就需要一定的技巧。在这里我用的map<char,int> 每个字符串映射一个数字
#include#include #include #include #include
tvvj的评测姬终于不搞事情了,之前每次提交不是 Runing 就是 System error....
转载于:https://www.cnblogs.com/OIerLYF/p/6950689.html