自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

代码改变世界

今日的我要超越昨日的我,明日的我要胜过今日的我;以创作出更好的代码为目标,不断地超越自己。

  • 博客(31)
  • 问答 (1)
  • 收藏
  • 关注

原创 HDU 4652 Dice (概率DP)

传送门 DiceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 470 Accepted Submission(s): 323 Special JudgeProblem Description You have a dice

2016-04-30 12:07:39 4243 2

原创 HDU 5245 Joyful

传送门 JoyfulTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 781 Accepted Submission(s): 339Problem Description Sakura has a very magical too

2016-04-28 21:13:32 4453

原创 HDU 5001 Walk (概率DP)

传送门WalkTime Limit: 30000/15000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 996 Accepted Submission(s): 634 Special JudgeProblem Description I used to think

2016-04-28 11:26:10 1046

原创 Acedream 1113 The Arrow(概率DP)

传送门 The Arrow Time Limit:1000MS Memory Limit:64000KB 64bit IO Format:%lld & %llu SubmitStatus Description The history shows that We need heroes in every dynasty. For example, Liangshan Her

2016-04-28 11:08:44 671

原创 POJ 3744 Scout YYF I(概率DP)

传送门 Scout YYF I Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7221 Accepted: 2106 DescriptionYYF is a couragous scout. Now he is on a dangerous mission which is to penetrate i

2016-04-28 10:47:16 991

原创 ACdream 1113 The Arrow (概率DP)

概率 DP

2016-04-26 17:31:28 1132

原创 POJ 3071 Football(概率DP)

概率DP + 找规律...

2016-04-25 17:09:41 577

原创 POJ 3061 Subsequence(尺取法)

尺取法(二分) + 思维

2016-04-23 20:53:41 3067

原创 链外播放器源码

<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 src="http://music.163.com/outchain/player?type=2&id=27583305&auto=1&height=66"></iframe>

2016-04-23 19:32:18 1830

原创 HDU 5671 Matrix (BestCoder Round #81 (div.2) 1002)

传送门MatrixTime Limit: 3000/1500 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 311    Accepted Submission(s): 142Problem D

2016-04-23 09:57:06 1634

原创 HDU 3032 Nim or not Nim?(博弈 SG打表找规律)

博弈SG函数 + 打表找规律

2016-04-20 20:14:10 1254

原创 HDU 5667 Sequence (BestCoder Round #80 1003)——构造矩阵

构造矩阵 + 矩阵的快速幂 + 基础数论

2016-04-19 13:09:47 1665

原创 HDU 5666 Segment(BestCoder Round #80 1002)

BestCoder + 基础的公式 + 推导

2016-04-18 17:01:50 882

原创 Light OJ 1315 - Game of Hyper Knights

SG函数...

2016-04-16 20:58:07 826

原创 Light OJ 1296 - Again Stone Game

SG函数 + 打表 找规律...

2016-04-16 17:23:20 879

原创 Light OJ 1393 - Crazy Calendar(博弈)

尼姆博弈。。。

2016-04-16 17:09:10 620

原创 LIGHT OJ 1199 - Partitioning Game

博弈的SG定理

2016-04-15 11:35:39 2413

原创 Light OJ 1253 Misere Nim

尼姆博弈变形

2016-04-15 11:25:10 954

原创 Matrix Game(尼姆博弈)

简单的尼姆博弈

2016-04-15 11:05:47 4205

原创 UVALive 7040 Color (容斥原理 + 组合数学递推公式 + 求逆元 + 基础数论)

传送门 英文题目:Recently, Mr. Big recieved n owers from his fans. He wants to recolor those owers with m colors. The owers are put in a line. It is not allowed to color any adjacent owers with the same colo

2016-04-11 20:41:09 2790 1

原创 HDU 5072 Coprime

容斥原理 + 素因子分解 + 外挂

2016-04-08 20:15:20 606

原创 HDU 4059 The Boss on Mars(容斥原理 + 四次方求和)

容斥原理 + 四次方求和 + 数论

2016-04-08 19:45:54 3734

原创 输入输出外挂模板

其实当做一些题的时候 遇到一些输入很多数据的时候 可以考虑一下输入输出外挂,这个还是很实用的,有些题都可以用这个水过,哈哈^_^,注意的是 这些都是整数….My Code:#include <iostream>#include <cstdio>#include <cstring>using namespace std;const int MAXN = 1e4+5;typedef long

2016-04-06 19:58:04 2197

原创 POJ 3904 Sky Code (容斥原理)

容斥原理 + 素因子分解 + 输入输出外挂

2016-04-06 19:53:49 1155

原创 HDU 4334 Trouble

暴力。。。。

2016-04-04 20:30:54 481

原创 HDU 2841 Visible Trees(容斥原理)

容斥原理 + 二进制枚举

2016-04-04 19:45:38 896

原创 UVA 10325 The Lottery(容斥原理)

容斥原理

2016-04-04 11:57:41 1282

原创 E Cheerleaders (UVA 11806)

容斥原理 + 数论 + 二进制

2016-04-02 17:15:38 874

原创 Codeforces 656 B. Scrambled(April Fools Day Contest 2016)

愚人节快乐...

2016-04-02 16:58:03 1231

原创 HDU 1695 GCD(容斥原理 + 欧拉函数)

传送门GCDTime Limit: 6000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8784 Accepted Submission(s): 3260Problem DescriptionGiven 5 integers: a, b, c, d, k, y

2016-04-02 14:58:13 1313

原创 HDU 1521 排列组合(指数型母函数)

传送门Problem Description 有n种物品,并且知道每种物品的数量。要求从中选出m件物品的排列数。例如有两种物品A,B,并且数量都是1,从中选2件物品,则排列有”AB”,”BA”两种。Input 每组输入数据有两行,第一行是二个数n,m(1<=m,n<=10),表示物品数,第二行有n个数,分别表示这n件物品的数量。Output 对应每组数据输出排列数。(任何运算不会超出2^31的

2016-04-01 19:43:43 1302

空空如也

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

TA关注的人

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