Just do it !

记录生活和学习的点滴

HDU 1005 Number Sequence(矩阵乘法+快速幂)

Problem Description A number sequence is defined as follows: f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7. Given A, B, an...

2018-08-02 00:00:53

阅读数:28

评论数:0

hdu oj 1061 Rightmost Digit (快速幂算法)

这里首先要讲解一下快速幂算法: 快速幂取模算法 在网站上一直没有找到有关于快速幂算法的一个详细的描述和解释,这里,我给出快速幂算法的完整解释,用的是C语言,不同语言的读者只好换个位啦,毕竟读C的人较多~ 所谓的快速幂,实际上是快速幂取模的缩写,简单的说,就是快速的求一个幂式的模(余)。在程序设...

2015-01-17 10:55:39

阅读数:2307

评论数:2

hdu 1166 敌兵布阵 (线段树)

敌兵布阵 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 45437    Accepted Submission(s): 19314 ...

2014-09-28 19:39:08

阅读数:1521

评论数:0

hdu oj 3127 WHUgirls(2009 Asia Wuhan Regional Contest Online)

WHUgirls Time Limit: 3000/2000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 2068    Accepted Submission(s):...

2014-08-23 21:38:13

阅读数:2249

评论数:0

hdu oj 3125 Slash (2009 Asia Wuhan Regional Contest Online)

Slash Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 806    Accepted Submission(s): 455 ...

2014-08-20 20:21:57

阅读数:1978

评论数:0

hdu 3123 GCC (2009 Asia Wuhan Regional Contest Online)

GCC Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 3867    Accepted Submission(s): 1272...

2014-08-19 21:59:40

阅读数:1828

评论数:0

hdu oj1102 Constructing Roads(最小生成树)

Constructing Roads Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 13995    Accepted Submi...

2014-08-10 20:15:06

阅读数:1336

评论数:0

hdu oj 3371 Connect the Cities (最小生成树)

Connect the Cities Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 9985    Accepted Submis...

2014-08-10 16:53:58

阅读数:1711

评论数:0

hdu oj 2544 最短路(最短路径)

最短路 Time Limit: 5000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 31874    Accepted Submission(s): 13798...

2014-08-10 15:16:25

阅读数:2151

评论数:0

hdu 1022 Train Problem I(栈的应用+STL)

Train Problem I Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 20521    Accepted Submissi...

2014-08-09 15:14:53

阅读数:1486

评论数:0

hdu 4006 The kth great number (优先队列+STB+最小堆)

The kth great number Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65768/65768 K (Java/Others) Total Submission(s): 6637    Accepted Submis...

2014-08-08 20:18:08

阅读数:1292

评论数:0

hdu oj Period (kmp的应用)

Period Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 2866    Accepted Submission(s): 143...

2014-07-23 15:11:00

阅读数:1439

评论数:0

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