自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

无奈滴微笑

旋转木马是最残忍的游戏, 彼此追逐却有永恒的距离...

  • 博客(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 618

原创 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 635

原创 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 770

原创 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 794

原创 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 585

原创 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 1136

原创 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 1013

原创 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 2007 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 1063

原创 <模板>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 1020

原创 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 738 3

原创 STL next_premutation函数的C++和C的作用。

众所周知有很多情况是求一个序列的所有排列。

2014-07-24 16:19:52 2700

原创 多校训练赛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 1140 3

原创 hiho一下第三周 kmp算法。

题目1 : KMP算法时间限制:1000ms单点时限:1000ms内存限制:256MB描述小Hi和小Ho是一对好朋友,出生在信息化社会的他们对编程产生了莫大的兴趣,他们约定好互相帮助,在编程的学习道路上一同前进。这一天,他们遇到了一只河蟹,于是河蟹就向小Hi和小Ho提出了那个经典的问题:“小Hi和小Ho,你们能不能够判断一段文字(原串

2014-07-24 09:25:12 817

原创 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 623

转载 大整数组合数求余(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 1251

转载 卢卡斯定理 解决大数组合数求余。

【卢卡斯(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 1428

原创 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 647

原创 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 823

原创 湖大训练赛2 Modified LCS

解这道题目之前,我们先来回顾一下我们的老题:青蛙的约会。

2014-07-21 22:32:37 920

原创 湖大训练赛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 656

原创 湖大训练赛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 762

原创 湖大训练赛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 729

原创 湖大暑假训练赛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 1227

原创 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 699

原创 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 485

原创 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 565

原创 最长公共子列和最长公共子串。LCS && LCSL

最长公共子串:在两个字符串中找到一个最长的公共子串,要求子串在原串中是连续的。最长公共子序列:在两个字符串中找到一个最长的公共子串,不要求子串在原串中是连续的。

2014-07-19 10:51:34 938

原创 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 817

原创 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 691

原创 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 604

原创 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 760 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 579

原创 小手一打就是标准的博弈论。

1.巴什博奕:一堆石子轮流取,最多只能取m个,

2014-07-15 10:33:09 605

原创 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 788

原创 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 579

原创 Apple。好题!ACdream群赛

题目链接:http://acdream.info/problem?pid=1131题意

2014-07-12 10:41:35 687

原创 拓扑排序。

拓扑排序用来解决有向无环图

2014-07-11 18:31:38 653

原创 矩阵快速幂+符号重载。

这本应该是昨天写的

2014-07-11 11:26:12 938

原创 连分数逼近。

首先,我们得知道...什么是连分数:

2014-07-09 09:42:10 2126

Qr-Image VC++ MFC生成二维码

Psytec Inc.日本公司开发的Qr_Image VC++ MFC生成二维码

2023-06-08

局域网远程修改windows密码

在局域网远程修改windows用户登录密码 Release里有已经编译好的可执行文件: ChangeWinPwdSrv.exe在服务器端运行,防火墙要允许通过网络。 ChangeWinPwdCl.exe在客户端运行就可修改服务器端windows用户密码。 C++ MFC windows API

2021-09-27

C# agsXmpp连接Openfire的Demo。可登陆接收发送消息

即时通讯Im Demo,用openfire做服务器,C#agsXmpp做客户端连接实现即时通讯。只实现登陆,接收发送消息。

2018-11-13

C++API文档

C++API的中文版,介绍了各种C++标准的库函数、函数模板、关键字和预处理命令的使用方法。欢迎下载,谢谢。

2015-09-06

Windows核心编程(第5版中文版).

Windows核心编程(第5版中文版).

2013-05-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除