Muddy Fields
摘要:Muddy FieldsTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionRain has pummeled the cows' field, a rectangular ...
阅读全文
posted @
2014-07-21 19:52
ERKE
阅读(225)
推荐(0)
组合 Lucas定理
摘要:组合Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64u[Submit] [Go Back] [Status]Description给出组合数C(n,m), 表示从n个元素中选出m个元素的方案数。例如C(5,2) = 1...
阅读全文
posted @
2014-07-19 00:32
ERKE
阅读(172)
推荐(0)
GCD SUM 强大的数论,容斥定理
摘要:GCD SUMTime Limit:8000/4000MS (Java/Others)Memory Limit:128000/64000KB (Java/Others)SubmitStatusProblem Description给出N,M执行如下程序:long long ans = 0,ansx ...
阅读全文
posted @
2014-07-18 22:58
ERKE
阅读(247)
推荐(0)
Liers 树状数组+中国剩余定理
摘要:LiersTime Limit:14000/7000MS (Java/Others)Memory Limit:128000/64000KB (Java/Others)SubmitStatusProblem Description有N个人,其中有若干个人一起参加了舞会,现在想知道哪些人有可能参加了舞会...
阅读全文
posted @
2014-07-18 15:54
ERKE
阅读(183)
推荐(0)
Crayon 线段树或者树状数组
摘要:CrayonTime Limit:2000/1000MS (Java/Others)Memory Limit:128000/64000KB (Java/Others)SubmitStatusProblem DescriptionBackgroundMary love painting so much...
阅读全文
posted @
2014-07-18 10:29
ERKE
阅读(394)
推荐(0)
Knapsack I 竟然是贪心,证明啊。。。。
摘要:Knapsack ITime Limit:2000/1000MS (Java/Others)Memory Limit:128000/64000KB (Java/Others)SubmitStatusProblem Description给出N个数a[1]....a[N],对于任意两个数(a[i],a...
阅读全文
posted @
2014-07-18 09:27
ERKE
阅读(316)
推荐(0)
Find 找规律,递推
摘要:FindTime Limit:2000/1000MS (Java/Others)Memory Limit:128000/64000KB (Java/Others)SubmitStatusProblem Description给出Nfor(i = 1; i {1,3} + {2,4} = {1,3,...
阅读全文
posted @
2014-07-18 09:08
ERKE
阅读(201)
推荐(0)
Sequence query 好题啊
摘要:Sequence queryTime Limit:2000/1000MS (Java/Others)Memory Limit:128000/64000KB (Java/Others)SubmitStatusProblem DescriptionGivenasequenceofNpositivenum...
阅读全文
posted @
2014-07-16 22:45
ERKE
阅读(329)
推荐(0)
Sum It Up 广搜
摘要:Sum It UpTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionGiven a specified total t and a list of n integers, ...
阅读全文
posted @
2014-07-15 14:03
ERKE
阅读(160)
推荐(0)
Digital Square 搜索
摘要:Digital SquareTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionGiven an integer N,you should come up with the ...
阅读全文
posted @
2014-07-15 09:14
ERKE
阅读(266)
推荐(0)
Count Color 线段树
摘要:Count ColorTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionChosen Problem Solving and Program design as an op...
阅读全文
posted @
2014-07-14 19:31
ERKE
阅读(173)
推荐(0)
Disharmony Trees 树状数组
摘要:Disharmony TreesTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionOne day Sophia finds a very big square. There...
阅读全文
posted @
2014-07-14 15:36
ERKE
阅读(275)
推荐(0)
You Are the One DP
摘要:You Are the OneTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescription The TV shows such as You Are the One has bee...
阅读全文
posted @
2014-07-14 12:52
ERKE
阅读(262)
推荐(0)
Doing Homework again
摘要:Doing Homework againTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionIgnatius has just come back school from t...
阅读全文
posted @
2014-07-14 08:56
ERKE
阅读(257)
推荐(0)
Relocation 状态压缩DP
摘要:RelocationTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionEmma and Eric are moving to their new house they bo...
阅读全文
posted @
2014-07-14 00:29
ERKE
阅读(203)
推荐(0)
Cow Exhibition 变种背包
摘要:Cow ExhibitionTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescription"Fat and docile, big and dumb, they look so stu...
阅读全文
posted @
2014-07-13 21:24
ERKE
阅读(239)
推荐(0)
Robberies hdu 2955 01背包
摘要:RobberiesTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10933Accepted Submission(s): 4049Problem ...
阅读全文
posted @
2014-07-12 13:40
ERKE
阅读(136)
推荐(0)
Eight hdu 1043 八数码问题 双搜
摘要:EightTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11226Accepted Submission(s): 3013Special Jud...
阅读全文
posted @
2014-07-12 00:13
ERKE
阅读(348)
推荐(0)
Chinese Rings hdu 2842 矩阵快速幂
摘要:Chinese RingsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 623Accepted Submission(s): 370Problem...
阅读全文
posted @
2014-07-11 18:51
ERKE
阅读(360)
推荐(0)
Cow Sorting hdu 2838
摘要:Cow SortingTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2224Accepted Submission(s): 701Problem ...
阅读全文
posted @
2014-07-11 14:51
ERKE
阅读(276)
推荐(0)