打表
文章平均质量分 81
wyg1997
恰如猛虎卧荒丘,潜伏爪牙忍受。
展开
-
【杭电oj】1061 - Rightmost Digit(打表)
Rightmost DigitTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 43080 Accepted Submission(s): 16192Problem DescriptionGiven a原创 2016-01-16 19:05:23 · 625 阅读 · 0 评论 -
【杭电oj】1028 - Ignatius and the Princess III(母函数打表)
点击打开题目Ignatius and the Princess IIITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 18586 Accepted Submission(s): 13020Pro原创 2016-07-21 16:53:34 · 358 阅读 · 0 评论 -
【杭电oj】1284 - 钱币兑换问题(母函数打表)
点击打开题目钱币兑换问题Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9063 Accepted Submission(s): 5501Problem Description在一个国家原创 2016-07-21 16:33:13 · 550 阅读 · 0 评论 -
【杭电oj】1398 - Square Coins(母函数打表)
点击打开题目Square CoinsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11090 Accepted Submission(s): 7593Problem Description原创 2016-07-21 17:22:33 · 408 阅读 · 0 评论 -
【HDU】3944 - DP?(Lucas & 逆元 & 大组合数 & 打表)
点击打开题目DP?Time Limit: 10000/3000 MS (Java/Others) Memory Limit: 128000/128000 K (Java/Others)Total Submission(s): 2934 Accepted Submission(s): 910Problem DescriptionFi原创 2016-08-08 12:23:44 · 773 阅读 · 0 评论 -
【POJ】2346 - Lucky tickets(数位dp)
点击打开题目Lucky ticketsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 3327 Accepted: 2195DescriptionThe public transport administration of Ekater原创 2016-08-11 21:14:05 · 452 阅读 · 0 评论 -
【51Nod】1043 - 幸运号码(数位dp)
点击打开题目1043 幸运号码基准时间限制:1 秒 空间限制:131072 KB 分值: 20 难度:3级算法题 收藏 关注1个长度为2N的数,如果左边N个数的和 = 右边N个数的和,那么就是一个幸运号码。例如:99、1230、123312是幸运号码。给出一个N,求长度为2N的幸运号码的数量。由于数量很大,原创 2016-08-11 21:47:16 · 1095 阅读 · 0 评论 -
【51Nod】1119 - 机器人走方格V2(逆元 & 费马小定理 & 快速幂)
点击打开题目1119 机器人走方格 V2基准时间限制:1 秒 空间限制:131072 KB 分值: 10 难度:2级算法题 收藏 关注M * N的方格,一个机器人从左上走到右下,只能向右或向下走。有多少种不同的走法?由于方法数量可能很大,只需要输出Mod 10^9 + 7的结果。Input原创 2016-08-12 11:19:18 · 390 阅读 · 0 评论 -
【LightOJ】1109 - False Ordering(打表)
点击打开题目1109 - False Ordering PDF (English)StatisticsForumTime Limit: 1 second(s)Memory Limit: 32 MBWe define b is a Divisor of a number a if a is原创 2016-09-05 15:56:50 · 364 阅读 · 0 评论 -
【CodeForces】546D - Soldier and Number Game(线性筛法)
点击打开题目D. Soldier and Number Gametime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputTwo soldiers are p原创 2016-08-15 09:54:21 · 331 阅读 · 0 评论 -
【UVa】10200 - Prime Time(打表)
点击打开题目Euler is a well-known matematician, and, among many other things, he discovered that the formulan2 + n + 41 produces a prime for 0 ≤ n Even though this formula doesn’t always produce a原创 2016-08-15 10:02:30 · 355 阅读 · 0 评论 -
【HDU】2136 - Largest prime factor(打表)
题目链接:点击打开题目Largest prime factorTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11144 Accepted Submission(s): 3942Problem De原创 2016-10-23 15:00:45 · 403 阅读 · 0 评论 -
【51Nod】1082 - 与7无关的数(打表)
题目链接:点击打开链接1082 与7无关的数题目来源: 有道难题基准时间限制:1 秒 空间限制:131072 KB 分值: 5 难度:1级算法题 收藏 关注一个正整数,如果它能被7整除,或者它的十进制表示法中某个位数上的数字为7,则称其为与7相关的数。求所有小于等于N的与7无关的正整数的平方和。例如原创 2016-11-19 16:38:46 · 282 阅读 · 0 评论 -
【杭电oj】4548 - 美素数(打表)
点击打开题目美素数Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 5552 Accepted Submission(s): 1950Problem Description 小明对数的研原创 2016-07-19 20:10:08 · 815 阅读 · 0 评论 -
【杭电oj】1207 - 汉诺塔II(打表,动态规划)
点击打开题目汉诺塔IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7237 Accepted Submission(s): 3586Problem Description经典的汉诺塔原创 2016-07-20 10:52:53 · 1072 阅读 · 0 评论 -
【杭电oj】2064 - 汉诺塔III(递归,汉诺塔)
点击打开题目汉诺塔IIITime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14440 Accepted Submission(s): 6650Problem Description约19世原创 2016-06-20 13:43:21 · 1541 阅读 · 0 评论 -
【南理oj】24 - 素数距离问题(打表,多次出错)
素数距离问题时间限制:3000 ms | 内存限制:65535 KB难度:2描述现在给出你一些数,要求你写出一个程序,输出这些整数相邻最近的素数,并输出其相距长度。如果左右有等距离长度素数,则输出左侧的值及相应距离。如果输入的整数本身就是素数,则输出该素数本身,距离输出0输入第一行给出测试数据组数N(0接下来的N行每行有一个整数M(0输出原创 2016-01-06 13:33:09 · 400 阅读 · 0 评论 -
【杭电oj】2180-时钟(打表,水)
时钟Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1795 Accepted Submission(s): 459Problem Description从a点b分到s点t分时针和分针重合多少次?原创 2015-12-18 15:19:14 · 511 阅读 · 0 评论 -
【杭电oj】1215 - 七夕节(打表,水)
七夕节Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 37435 Accepted Submission(s): 11691Problem Description七夕节那天,月老来到数字王国,他在城门上原创 2016-01-11 21:43:54 · 440 阅读 · 0 评论 -
【杭电oj】1999-不可摸数(打表)
不可摸数Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10561 Accepted Submission(s): 2727Problem Descriptions(n)是正整数n的真因子之和,即小于n原创 2015-12-17 12:50:08 · 1326 阅读 · 2 评论 -
【杭电oj】2068 - RPG的错排(错排,排列与组合)
RPG的错排Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10345 Accepted Submission(s): 4203Problem Description今年暑假杭电ACM集训队第一次组成女原创 2016-03-19 20:33:41 · 1114 阅读 · 0 评论 -
【杭电oj】杨辉三角(排列数打表)
杨辉三角Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 54099 Accepted Submission(s): 22480Problem Description还记得中学时候学过的杨辉三角吗?具体的原创 2016-04-05 12:35:23 · 992 阅读 · 0 评论 -
【杭电oj】2073 - 无限的路(打表)
无限的路Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7773 Accepted Submission(s): 4017Problem Description甜甜从小就喜欢画图画,最近他买了一支智能画原创 2016-04-05 12:38:43 · 863 阅读 · 0 评论 -
【HDU】1267 - 下沙的沙子有几粒?(BigDecimal & 卡特兰数 & 递推 & 打表)
点击打开题目下沙的沙子有几粒?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3862 Accepted Submission(s): 2029Problem Description20原创 2016-07-28 11:17:43 · 684 阅读 · 0 评论 -
【HDU】1130 - How Many Trees?(java - BigDecimal & 卡特兰大数打表)
点击打开题目How Many Trees?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3718 Accepted Submission(s): 2088Problem Description原创 2016-07-28 10:02:16 · 360 阅读 · 0 评论 -
【杭电oj】1443 - Joseph(模拟,打表)
点击打开题目JosephTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2337 Accepted Submission(s): 1426Problem DescriptionThe J原创 2016-07-18 16:40:22 · 801 阅读 · 0 评论 -
【杭电oj】3625 - Examining the Rooms(第一类斯特林数打表)
点击打开题目Examining the RoomsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1437 Accepted Submission(s): 873Problem Descript原创 2016-07-18 21:27:04 · 403 阅读 · 0 评论 -
【杭电oj】2089 - 不要62(打表)
点击打开题目不要62Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 32814 Accepted Submission(s): 11712Problem Description杭州人称那原创 2016-07-19 18:32:11 · 476 阅读 · 0 评论 -
【UESTC】1423 - Run Step(打表 & 组合)
题目链接:点击打开链接把每种情况都列举出来,然后进行一次组合。代码如下:#include #include #include #include #include #include using namespace std;#define CLR(a,b) memset(a,b,sizeof(a))#define INF 0x3f3f3f3f#define PI原创 2016-12-05 21:34:43 · 379 阅读 · 0 评论