算法
文章平均质量分 82
DerdYuiop
这个作者很懒,什么都没留下…
展开
-
Text Editor(hash+二分字符串长度)
Text Editor One of the most useful tools nowadays are text editors, their use is so important that the Unique Natural Advanced Language (UNAL) organization has studied many of the benefits working with them. They are interested specifically in the feature原创 2021-04-12 20:06:06 · 138 阅读 · 0 评论 -
字符串dp(easy)
被3整除的子序列 链接:https://ac.nowcoder.com/acm/problem/21302 来源:牛客网 题目描述 给你一个长度为50的数字串,问你有多少个子序列构成的数字可以被3整除 答案对1e9+7取模 输入描述: 输入一个字符串,由数字构成,长度小于等于50 输出描述: 输出一个整数 基本思路 由于 #include<bits/stdc++.h> #include<iostream> #include<cmath> #include<algor原创 2021-04-06 20:16:23 · 133 阅读 · 0 评论