数位DP
文章平均质量分 84
VampireWeekend
I want my dreams to rescue me
展开
-
Codeforces 55D Beautiful numbers 数位DP
D. Beautiful numberstime limit per test4 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVolodya is an odd boy and his taste is原创 2017-07-19 11:58:37 · 302 阅读 · 0 评论 -
Manthan, Codefest 17 E. Salazar Slytherin's Locket 数位DP+状态压缩
E. Salazar Slytherin's Lockettime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputHarry came to know from Dumbl原创 2017-09-27 19:31:47 · 390 阅读 · 0 评论 -
Codeforces Round #426 (Div. 2) A B C D E
假装AK一场。原创 2017-08-31 14:13:49 · 337 阅读 · 0 评论 -
Hdu 4389 X mod f(x) 数位DP
X mod f(x)Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3177 Accepted Submission(s): 1234Problem DescriptionHere is a funct原创 2017-08-23 00:41:14 · 280 阅读 · 0 评论 -
BZOJ 1799 [Ahoi2009]self 同类分布 数位DP
1799: [Ahoi2009]self 同类分布Time Limit: 50 Sec Memory Limit: 64 MBSubmit: 1211 Solved: 517[Submit][Status][Discuss]Description给出a,b,求出[a,b]中各位数字之和能整除原数的数的个数。InputOutputSample原创 2017-08-07 00:34:16 · 295 阅读 · 0 评论 -
POJ 3252 Round Numbers 数位DP
Round NumbersTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 13448 Accepted: 5251DescriptionThe cows, as you know, have no fingers or thumbs and thus ar原创 2017-07-09 09:54:55 · 298 阅读 · 0 评论 -
Hdu 3709 Balanced Number 数位DP
Balanced NumberTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 5692 Accepted Submission(s): 2727Problem DescriptionA balance原创 2017-07-08 23:02:46 · 220 阅读 · 0 评论 -
Gym - 101411H Hotel in Ves Lagos 数位DP 2009-2010 ACM-ICPC, NEERC, Western Subregional Contest
http://codeforces.com/gym/101411/attachmentsProblem H. Hotel in Ves LagosInput le: hotel.inOutput le: hotel.outTime limit: 1 secondMemory limit: 256 megabytesA new hotel is being bui原创 2017-07-19 19:37:52 · 696 阅读 · 0 评论 -
Hdu 6148 Valley Numer 数位DP
Valley NumerTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 422 Accepted Submission(s): 224Problem Description众所周知,度度熊非常喜欢数字。原创 2017-08-19 22:15:00 · 311 阅读 · 0 评论 -
牛客网暑期ACM多校训练营(第四场)C. Chiaki Sequence Reloaded 数位DP
题目描述 Chiaki is interested in an infinite sequence a1, a2, a3, …, which defined as follows: Chiaki would like to know the sum of the first n terms of the sequence, i.e. . As this number may be ve...原创 2018-09-06 19:31:28 · 254 阅读 · 0 评论