- 博客(46)
- 资源 (4)
- 收藏
- 关注
原创 poj2411 Mondriaan's Dream
Mondriaan's DreamTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 11424 Accepted: 6637DescriptionSquares and rectangles fascinated the famous Dutch pai
2014-07-30 21:19:10 631
原创 zoj 3471 Most Powerful(状态压缩+dp)
Most PowerfulTime Limit: 2 Seconds Memory Limit: 65536 KBRecently, researchers on Mars have discovered N powerful atoms. All of them are different. These atoms have some properties. Whe
2014-07-30 17:05:08 651
原创 hdu3001 三进制状态压缩+dp
TravellingTime Limit: 6000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3477 Accepted Submission(s): 1084Problem DescriptionAfter coding so
2014-07-30 11:05:42 782
原创 poj 3311Hie with the Pie(解题的两种方法)状态压缩dp,或全排列。
Hie with the PieTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 3994 Accepted: 2118DescriptionThe Pizazz Pizzeria prides itself in delivering pizzas to
2014-07-30 08:35:05 806
原创 poj1185 炮兵阵地(状态压缩+DP)
炮兵阵地Time Limit: 2000MS Memory Limit: 65536KTotal Submissions: 18629 Accepted: 7179Description司令部的将军们打算在N*M的网格地图上部署他们的炮兵部队。一个N*M的地图由N行M列组成,地图的每一格可能是山地(用"H" 表示),也
2014-07-29 20:48:44 597
原创 Hdu 4891 The Great Pan
The Great PanTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 154 Accepted Submission(s): 52Problem DescriptionAs a programmin
2014-07-29 18:40:47 1151
原创 TC。求一个大数的最大因子满足完全平方数。
#include #include #include #include #include #include #include #include #include #include #include using namespace std;#define LL long longclass SquareDivisor{ public: long long bigge
2014-07-29 10:55:00 1043
原创 Hdu4704 Sum(又见费马小定理)
SumTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1130 Accepted Submission(s): 505Problem Description Sample I
2014-07-29 10:05:01 2045 3
原创 湖大训练赛4 Dwarf Tower
Dwarf TowerTime Limit: 2000ms, Special Time Limit:5000ms, Memory Limit:65536KBTotal submit users: 43, Accepted users: 26Problem 12847 : No special judgementProblem description
2014-07-27 22:44:11 1078
原创 <模板>Hdu4869 Turn the pokers 组合数求余 费马小定理
Turn the pokersTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1115 Accepted Submission(s): 418Problem DescriptionDuring summ
2014-07-25 15:29:56 1057
原创 Codeforces Round #258 (Div. 2) C - Predict Outcome of the Game
C. Predict Outcome of the Gametime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n games in a footb
2014-07-25 11:14:08 750 3
原创 多校训练赛2 ZCC loves cards
ZCC loves cardsTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 260 Accepted Submission(s): 7Problem Description ZCC loves p
2014-07-24 16:11:28 1166 3
原创 hiho一下第三周 kmp算法。
题目1 : KMP算法时间限制:1000ms单点时限:1000ms内存限制:256MB描述小Hi和小Ho是一对好朋友,出生在信息化社会的他们对编程产生了莫大的兴趣,他们约定好互相帮助,在编程的学习道路上一同前进。这一天,他们遇到了一只河蟹,于是河蟹就向小Hi和小Ho提出了那个经典的问题:“小Hi和小Ho,你们能不能够判断一段文字(原串
2014-07-24 09:25:12 829
原创 Frist Blood poj3254(状态压缩+DP)
Corn FieldsTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 7049 Accepted: 3749DescriptionFarmer John has purchased a lush new rectangular pasture compos
2014-07-23 22:05:45 631
转载 大整数组合数求余(lucas定理)
【卢卡斯(Lucas)定理】Lucas定理用来求C(a,b)mod p的值,其中p为素数。数学表达式为:Lucas(a,b,q)=C(a%q,b%q)*Lucas(a/p,b/p,p);Lucas(a,0,q)=0;通过这个定理就可以很方便的把大数的组合转化成小数。但其中还是要求C(a%q,b%q)%p,所以这里引入逆元来求。【定义】若整数a,b,p
2014-07-22 22:05:14 1270
转载 卢卡斯定理 解决大数组合数求余。
【卢卡斯(Lucas)定理】Lucas定理用来求C(a,b)mod p的值,其中p为素数。数学表达式为:Lucas(a,b,q)=C(a%q,b%q)*Lucas(a/p,b/p,p);Lucas(a,0,q)=0;通过这个定理就可以很方便的把大数的组合转化成小数。但其中还是要求C(a%q,b%q)%p,所以这里引入逆元来求。
2014-07-22 14:26:34 1439
原创 Hdu 1517 博弈论
A Multiplication GameTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3625 Accepted Submission(s): 2057Problem DescriptionStan
2014-07-22 10:59:58 658
原创 HDU 4857 逃生。
逃生Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 582 Accepted Submission(s): 156Problem Description糟糕的事情发生啦,现在大家都忙着逃命。但是逃命的通
2014-07-22 10:05:54 839
原创 湖大训练赛1 Restore Calculation
Restore CalculationTime Limit: 20000ms, Special Time Limit:50000ms, Memory Limit:65536KBTotal submit users: 20, Accepted users: 17Problem 12813 : No special judgementProblem de
2014-07-21 19:01:31 669
原创 湖大训练赛1 Shipuratt
ShipuraTime Limit: 20000ms, Special Time Limit:50000ms, Memory Limit:65536KBTotal submit users: 17, Accepted users: 14Problem 12817 : No special judgementProblem description
2014-07-21 10:03:52 773
原创 湖大训练赛1 Broken Audio Signal
Broken Audio SignalTime Limit: 20000ms, Special Time Limit:50000ms, Memory Limit:65536KBTotal submit users: 66, Accepted users: 40Problem 12812 : No special judgementProblem de
2014-07-21 08:05:37 744
原创 湖大暑假训练赛2:The Stones Game
The Stones GameTime Limit: 10000ms, Special Time Limit:25000ms, Memory Limit:65536KBTotal submit users: 28, Accepted users: 26Problem 12828 : No special judgementProblem descri
2014-07-21 00:17:28 1243
原创 Codeforces Round #257 (Div. 2) C. Jzzhu and Chocolate
C. Jzzhu and Chocolatetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputJzzhu has a big rectangular chocolate
2014-07-20 09:02:43 712
原创 Codeforces Round #257 (Div. 2) B. Jzzhu and Sequences
B. Jzzhu and Sequencestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputJzzhu has invented a kind of sequence
2014-07-20 08:52:09 495
原创 Codeforces Round #257 (Div. 2) A. Jzzhu and Children
A. Jzzhu and Childrentime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n children in Jzzhu's school
2014-07-20 08:49:33 573
原创 最长公共子列和最长公共子串。LCS && LCSL
最长公共子串:在两个字符串中找到一个最长的公共子串,要求子串在原串中是连续的。最长公共子序列:在两个字符串中找到一个最长的公共子串,不要求子串在原串中是连续的。
2014-07-19 10:51:34 955
原创 Codeforces Round #256 (Div. 2) E. Divisors
E. Divisorstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBizon the Champion isn't just friendly, he also
2014-07-18 23:37:43 831
原创 Codeforces Round #256 (Div. 2) D. Multiplication Table
D. Multiplication Tabletime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBizon the Champion isn't just charmi
2014-07-18 23:22:56 702
原创 Codeforces Round #256 (Div. 2) C. Painting Fence
C. Painting Fencetime limit per test1 secondmemory limit per test512 megabytesinputstandard inputoutputstandard outputBizon the Champion isn't just attentive, h
2014-07-18 22:15:23 622
原创 poj1704 Georgia and Bob(阶梯博弈)
Georgia and BobTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 7457 Accepted: 2254DescriptionGeorgia and Bob decide to play a self-invented game. They
2014-07-17 09:57:10 772 1
原创 HDU1536 SG博弈+尼姆博弈
S-NimTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4289 Accepted Submission(s): 1857Problem DescriptionArthur and his siste
2014-07-15 19:16:07 587
原创 Codeforces Round #FF (Div. 2)D. DZY Loves Modification
D. DZY Loves Modificationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs we know, DZY loves playing gam
2014-07-15 08:27:41 800
原创 Codeforces Round #FF (Div. 2)C - DZY Loves Sequences
C. DZY Loves Sequencestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDZY has a sequence a, consisting of n
2014-07-14 11:02:38 587
局域网远程修改windows密码
2021-09-27
C# agsXmpp连接Openfire的Demo。可登陆接收发送消息
2018-11-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人