码迷,mamicode.com
首页 >  
搜索关键字:consecutive numbers    ( 8082个结果
CF55D Beautiful numbers
题目描述 对于一个数,如果他能被任何一位上的数整除,那么他就是beautiful number,有t组询问求[l,r]的beautiful number。 1<=li?<=ri?<=9?1018 题解 看到没有一点思路,甚至想到上次做的数位DP想把[0,9]都开出一维,但是不仅空间过不去,而且不知道 ...
分类:其他好文   时间:2019-08-23 22:10:59    阅读次数:86
CF628D Magic Numbers
题目描述 给你两个数m和d 再给你两个数l,r 询问区间[l,r]中有多少个数满足偶数位是d奇数位不是d且为m的倍数的数(位数从左数) 1 <=m <= 2000 , 0 <= d <=9 l <= r <= 10 ^ 2000 保证a<=b且a和b位数相同 题解 一开始一直在考虑前导零,讨论贼麻烦 ...
分类:其他好文   时间:2019-08-23 20:46:55    阅读次数:196
CF914C Travelling Salesman and Special Numbers
题目描述 对于一个正整数x,我们定义一次操作是将其变为它二进制下“1”的个数,比如我们知道1310?=11012 ,而1101有三个"1",所以对13进行一次操作就会将其变为3。显而易见的是,对于一个正整数,我们在进行若干次操作后,一定会将其变为1。 给定n和k,其中n是在二进制下被给出,求出所有不 ...
分类:其他好文   时间:2019-08-23 19:30:56    阅读次数:86
(Easy) Set Mismatch -LeetCode
Description: The set S originally contains numbers from 1 to n. But unfortunately, due to the data error, one of the numbers in the set got duplicated ...
分类:其他好文   时间:2019-08-23 19:27:17    阅读次数:79
CodeForces - 488D (Strip)
Strip Alexandra has a paper strip with n numbers on it. Let's call them ai from left to right. Now Alexandra wants to split it into some pieces (possi ...
分类:其他好文   时间:2019-08-22 23:36:44    阅读次数:109
(Easy) Self Dividing Numbers LeetCode
Description: A self-dividing number is a number that is divisible by every digit it contains. For example, 128 is a self-dividing number because 128 % ...
分类:其他好文   时间:2019-08-22 19:07:03    阅读次数:80
neo4j数据库迁移---------Neo4j数据库导入导出的方法
Neo4j数据进行备份、还原、迁移的操作时,首先要关闭neo4j; /usr/share/neo4j/binneo4j stop 如果出现 Neo4j not running 出现这种情况, Neo4j没有运行, 但是浏览器仍然可以访问neo4j数据库的情况, 直接执行导入数据后,是无法看到导入的数 ...
分类:数据库   时间:2019-08-22 18:53:26    阅读次数:207
Codeforces Round #580 (Div. 2)
Solutions A. Choose Two Numbers 题意: 给出$A,B$两个集合,$A,B$ 集合分别选一个数$a,b$ ,使得$a+b\notin\ A,B$ 思路: 每个集合选出最大值,必定满足条件。emmmmm比赛的时候傻了。 ...
分类:其他好文   时间:2019-08-22 18:31:10    阅读次数:87
1073 Scientific Notation
Scientific notation is the way that scientists easily handle very large numbers or very small numbers. The notation matches the regular expression [+- ...
分类:其他好文   时间:2019-08-22 12:41:56    阅读次数:68
Kaggle比赛(二)House Prices: Advanced Regression Techniques
房价预测 是我入门Kaggle的第二个比赛,参考学习了他人的一篇优秀教程:https://www.kaggle.com/serigne/stacked regressions top 4 on leaderboard 通过 Serigne 的这篇notebook,我学习到了关于数据分析、特征工程、集 ...
分类:其他好文   时间:2019-08-21 18:58:06    阅读次数:120
8082条   上一页 1 ... 76 77 78 79 80 ... 809 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!