小坏蛋_千千

I was caught in a heavy rain!

HDU 3853 LOOPS (概率DP)

Problem Description Akemi Homura is a Mahou Shoujo (Puella Magi/Magical Girl). Homura wants to help her friend Madoka save the world. But beca...

2016-11-27 14:19:10

阅读数:197

评论数:0

HDU 4336 Card Collector (容斥原理||概率DP)

Problem Description In your childhood, do you crazy for collecting the beautiful cards in the snacks? They said that, for example, if you collect a...

2016-11-25 12:37:16

阅读数:336

评论数:0

HDU 4586:Play the Dice (数学)

Problem Description There is a dice with n sides, which are numbered from 1,2,…,n and have the equal possibility to show up when one rolls a dice. ...

2016-11-25 10:12:50

阅读数:277

评论数:0

『数论』扩展欧几里得算法

扩展欧几里德算法是用来在已知a, b求解一组x,y,使它们满足贝祖等式: ax+by = gcd(a, b) =d(解一定存在,根据数论中的相关定理)。扩展欧几里德常用在求解模线性方程及方程组中。欧几里德算法概述欧几里德算法又称辗转相除法,用于计算两个整数a,b的最大公约数。

2016-11-24 15:33:48

阅读数:368

评论数:0

HDU 3555 Bomb (数位DP)

Problem Description The counter-terrorists found a time bomb in the dust. But this time the terrorists improve on the time bomb. The number sequenc...

2016-11-19 20:40:52

阅读数:252

评论数:0

HDU 2476:String painter (区间DP)

String painterProblem Description There are two strings A and B with equal length. Both strings are made up of lower case letters. Now you have a p...

2016-11-19 14:44:42

阅读数:242

评论数:0

HDU 1796:How many integers can you find(容斥原理)

How many integers can you find Time Limit: 12000/5000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 7456    Ac...

2016-11-01 21:41:59

阅读数:255

评论数:0

HDU 4135:Co-prime (容斥原理)

Co-prime Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4289    Accepted Submission(s): 1...

2016-11-01 21:35:17

阅读数:205

评论数:0

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