代码改变世界

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

UVA 11806 Cheerleaders(容斥原理 + 组合数)

传送门 In most professional sporting events, cheerleaders play a major role in entertaining the spectators. Their roles are substantial during breaks ...

2016-10-31 16:40:45

阅读数:738

评论数:0

HDU 5935 Car (贪心)——2016年中国大学生程序设计竞赛(杭州)

传送门 CarTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 228    Accepted Submission(s): 85Prob...

2016-10-30 17:59:19

阅读数:797

评论数:0

HDU 5950 Recursive sequence(构造矩阵+矩阵乘法)——2016ACM/ICPC亚洲区沈阳站(重现赛)

传送门 Recursive sequenceTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 98    Accepted Submiss...

2016-10-30 16:33:25

阅读数:2127

评论数:0

HDU 5938 Four Operations(贪心+细节)——2016年中国大学生程序设计竞赛(杭州)

传送门 Four OperationsTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 69    Accepted Submission...

2016-10-29 18:59:28

阅读数:934

评论数:0

HDU 4089 Activation(概率DP好题)——2011 Asia Beijing Regional Contest

传送门ActivationTime Limit: 20000/10000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3291    Accepted Submission(s)...

2016-10-28 20:17:50

阅读数:554

评论数:0

HDU 5478 Can you find it(数学归纳法 + 快速幂)——2015 ACM/ICPC Asia Regional Shanghai Online

传送门 Can you find itTime Limit: 8000/5000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1487    Accepted Submissi...

2016-10-25 21:06:54

阅读数:676

评论数:0

HDU 4405 Aeroplane chess (概率DP)——2012 ACM/ICPC Asia Regional Jinhua Online

传送门 Aeroplane chessTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3520    Accepted Submissi...

2016-10-23 18:11:53

阅读数:853

评论数:0

纪念 2016年 ICPC 大连站(2016年的第一次 ICPC )

2016年大连亚洲赛区已经结束好几天了,之所以现在才开始写,是因为现在才有点时间,感觉也挺忙的,哈哈~ 因为早就想写一篇博客来纪念一下自己第一次参加亚洲赛,其实感觉参加比赛也是挺不容易的,我还是想吐槽一下,大连海事大学这次的比赛环境确实不是很理想,因为当时我们在体育馆里都明显感到很闷,空气也不流通...

2016-10-18 20:54:32

阅读数:1361

评论数:3

UVA 6859 Points(凸包的应用)

传送门 Peter and Bob are playing a “Points” game on a math sheet of paper. Peter places a few points on the paper — grid nodes. Bob wants to surround t...

2016-10-13 20:19:48

阅读数:635

评论数:0

51NOD 1519 拆方块(思维)

传送门 有n堆方块,第i堆方块由hi个方块堆积而成。具体可以看样例。 接下来拆方块。一个方块称为内部方块当且仅当他的上下左右都是方块或者是地面。否则方块就是边界方块。每一次操作都要把边界方块拿掉。 问多少次操作之后所有方块会消失。 样例解释: 每一次操作,边界方块被标记为红色。 经过...

2016-10-13 10:42:20

阅读数:713

评论数:0

HDU 5097 Page Rank(矩阵模拟)——2014上海全国邀请赛——题目重现(感谢上海大学提供题目)

传送门Page RankTime Limit: 3000/1500 MS (Java/Others)    Memory Limit: 100000/100000 K (Java/Others)Total Submission(s): 346    Accepted Submission(s): ...

2016-10-12 20:16:27

阅读数:839

评论数:0

HDU 4609 3-idiots(FFT优化 + 计数方法)——2013 Multi-University Training Contest 1

传送门 3-idiotsTime Limit: 10000/5000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4140    Accepted Submission(s):...

2016-10-09 12:13:59

阅读数:427

评论数:0

HDU 4609 3-idiots(FFT优化 + 计数方法)——2013 Multi-University Training Contest 1

传送门 3-idiotsTime Limit: 10000/5000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4140    Accepted Submission(s):...

2016-10-09 12:13:40

阅读数:417

评论数:0

HDU 1402 A * B Problem Plus(FFT加速优化乘法)

传送门 A * B Problem PlusTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 18312    Accepted Subm...

2016-10-08 16:50:23

阅读数:1265

评论数:0

POJ 3735 Training little cats(矩阵乘法 + 稀疏矩阵优化)——2016弱校联盟十一专场10.7(12点场)

传送门Training little catsTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 13373Accepted: 3298DescriptionFacer’s pet cat just gave birth to a br...

2016-10-07 18:32:04

阅读数:479

评论数:0

HDU 4794 Arnold (Fib数模 n 的应用)——2013 Asia Changsha Regional Contest

传送门 ArnoldTime Limit: 20000/10000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 391    Accepted Submission(s): 1...

2016-10-06 18:36:35

阅读数:1460

评论数:0

HDU 5490 Simple Matrix(组合数学+构造等比数列)——2015 ACM/ICPC Asia Regional Hefei Online

传送门Simple MatrixTime Limit: 4000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 471    Accepted Submission(s)...

2016-10-05 20:52:51

阅读数:783

评论数:0

2016弱校联盟十一专场10.5 F Fibonacci of Fibonacci(矩阵快速幂 + 循环节)

传送门 题目大意:给定一个斐波那契数列 FnF_n,让你求 FFnF_{F_n}解题思路:首先我们将 FnF_n%MOD 的循环节找到, 然后套一下矩阵快速幂模的是MOD1MOD1,那么底数就变成了比较小的一个数(不至于太大),然后在套一下矩阵快速幂这次是模MODMOD。My Code:My\ ...

2016-10-05 16:54:29

阅读数:963

评论数:0

HDU 5908 Abelian Period(map + 思想)——BestCoder Round #88

传送门 Abelian PeriodTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 262144/131072 K (Java/Others)Total Submission(s): 524    Accepted Submis...

2016-10-03 21:05:33

阅读数:937

评论数:0

2016弱校联盟十一专场10.3 A Best Matched Pair(水)

传送门Problem A Best Matched Pair Input: Standard Input Time Limit: See AtCoder You are working for a worldwide game company as an engineer in Tokyo. Th...

2016-10-03 20:19:56

阅读数:858

评论数:0

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