发愤图强的小菜
发愤图强的小菜
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
发愤图强的小菜的博客
全部文章
(共1篇)
题目解析
解析:求PAT总数,要先将问题拆分先求有效PA总数 从左遍历字符串,遇到P就累计P数量,A前面有效的P的数量就是pacount+=pcount;T同理 public class Main { public static void main(String[] args) { ...
2020-07-26
1
643