思维
疯狂的橡树
code can change world
展开
-
poj 2443 Set Operation(思维&状态压缩)
Set OperationTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 2341 Accepted: 907DescriptionYou are given N sets, the i-th set (represent by S(i)) have C(原创 2013-09-30 23:53:02 · 1543 阅读 · 1 评论 -
hdu 4104 Discount(巧妙递推&思维)
DiscountTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1073 Accepted Submission(s): 646Problem DescriptionAll the shops us原创 2013-10-03 00:26:41 · 1523 阅读 · 0 评论 -
hdu 4737 A Bit Fun(思维&正解O(31*n))
A Bit FunTime Limit: 5000/2500 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1104 Accepted Submission(s): 623Problem DescriptionThere are n numbers i原创 2013-10-20 16:22:25 · 1053 阅读 · 0 评论 -
hdu Moles(线段树&KMP)
MolesTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1936 Accepted Submission(s): 496Problem DescriptionA mole is a strange mamm原创 2013-11-06 22:52:34 · 1376 阅读 · 0 评论 -
codeforces 251C Number Transformation(数论)
Number Transformationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Petya likes positive integers原创 2014-07-05 20:23:39 · 1132 阅读 · 0 评论 -
poj 2406 Power Strings(KMP&思维)
Power StringsTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 31093 Accepted: 12974DescriptionGiven two strings a and b we define a*b to be their concate原创 2014-07-05 20:47:44 · 993 阅读 · 0 评论 -
codeforces 173C Spiral Maximum(简单预处理)
C. Spiral Maximumtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLet's consider a k × k square, divided in原创 2014-07-05 19:55:18 · 1148 阅读 · 0 评论 -
Codeforces 11B Jumping Jack(数学)
B. Jumping Jacktime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputJack is working on his jumping skills recentl原创 2014-07-31 09:11:22 · 2510 阅读 · 0 评论 -
hdu 5033 Building(斜率优化)
BuildingTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 1237 Accepted Submission(s): 350Special JudgeProblem DescriptionOnce u原创 2014-09-24 21:46:09 · 1001 阅读 · 0 评论