代码改变世界

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

排序:
默认
按更新时间
按访问量

HDU 4592 Boring Game(高斯消元好题)

传送门 Boring GameTime Limit: 8000/4000 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 827    Accepted Submission(s)...

2016-09-11 12:09:11

阅读数:939

评论数:0

POJ 1753 Flip Game(高斯消元入门超详细题解)——Northeastern Europe 2000

传送门 Flip Game Time Limit: 3000/1000MS (Java/Others)     Memory Limit: 65535/65535KB (Java/Others) Submit  Status Flip game is played on a r...

2016-09-05 16:56:29

阅读数:1158

评论数:0

高斯消元整数消元模板

高斯消元就是来接方程组的。(可以跟矩阵联系在一起)#include <iostream> #include <cstdio> #include <cstring> #include <cstdlib> #include <cmath> u...

2016-06-17 10:52:06

阅读数:1822

评论数:0

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

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

2016-04-19 13:09:47

阅读数:1344

评论数:0

HDU 6172 Array Challenge(打表+矩阵快速幂)——2017 Multi-University Training Contest - Team 10

传送门 Array ChallengeTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 153428/153428 K (Java/Others)Total Submission(s): 203    Accepted Submiss...

2017-08-25 10:21:47

阅读数:167

评论数:0

HDU 6050 Funny Function(构造矩阵+推公式)——2017 Multi-University Training Contest - Team 2

传送门 Funny FunctionTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 724    Accepted Submission...

2017-07-28 16:07:18

阅读数:711

评论数:0

51NOD 1341 混合序列(构造矩阵)

传送门 题目描述: Input共1行,4个整数数p, q, r, n中间用空格分隔(1 <= p, q, r, n<=1000000000)。Output对于每一个数据,在一行中输出答案。Input示例2 2 1 1Output示例3解题思路:令 f(n)=∑ni=0ai∗bn−i...

2017-06-07 10:55:06

阅读数:495

评论数:0

HDU 4565 So Easy!(思想+矩阵快速幂)——2013 ACM-ICPC长沙赛区全国邀请赛

So Easy! Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4213    Accepted Submission(s): 136...

2017-05-28 18:12:25

阅读数:829

评论数:0

计蒜客 嘟嘟数列——构造矩阵

传送门 嘟嘟最近发现了一个数列,将其命名为嘟嘟数列,其中第 n 项的值 dudu ( n ) = a0a_0 × b0b_0 + a1a_1 × b1b_1 + … + an−1a_{n-1} × bn−1b_{n-1} .已知 a0a_0 ...

2017-05-23 20:48:07

阅读数:616

评论数:0

51NOD 1140 矩阵相乘结果的判断(随机化算法+矩阵结合率)

传送门 给出三个N*N的矩阵A, B, C,问A * B是否等于C? Input 第1行,1个数N。(0 <= N <= 500) 第2 - N + 1行:每行N个数,对应矩阵A的元素。(0 <= M[i] <= 16) 第N + 2 - 2N + 1行:每行N个...

2017-04-22 19:35:28

阅读数:718

评论数:0

51NOD 1836 战忽局的手段(矩阵乘法加速+__float128精度问题+概率期望)——算法马拉松20(告别美国大选及卡斯特罗)

传送门题目描述:众所周知,有一个神秘的组织——战忽局,在暗中保护着我们。在局中任职的官员都有着极强的忽悠技巧,不只能用预言,还能用往事忽悠人。如今某外星间谍已经获得了战忽局曾经参与的n次事件的资料,局座发现了这件事,于是决定再次用忽悠来保证战忽局的安全。局座将发表m次演讲,每一天他都会从n事件中等...

2016-12-03 19:09:38

阅读数:1562

评论数: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

阅读数:2104

评论数: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

阅读数:830

评论数: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

阅读数:475

评论数:0

HDU 5895 Mathematician QSC(逆元应用+矩阵快速幂+数论知识)——2016 ACM/ICPC Asia Regional Shenyang Online

传送门 Mathematician QSCTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 208    Accepted Submi...

2016-09-19 19:07:02

阅读数:1001

评论数:0

HDU 4920 Matrix multiplication(矩阵乘法小技巧)——2014 Multi-University Training Contest 5

传送门 Matrix multiplicationTime Limit: 4000/2000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 4338    Accepted ...

2016-09-15 15:40:38

阅读数:711

评论数:0

HDU 4200 Bad Wiring(高斯消元)

传送门Bad WiringTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 925    Accepted Submission(s): 3...

2016-09-13 19:30:33

阅读数:655

评论数:0

HDU 3364 Lanterns(高斯消元入门题目——开关问题)

传送门 LanternsTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1582    Accepted Submission(s): ...

2016-09-13 10:26:08

阅读数:1224

评论数:0

POJ 2065 SETI(高斯消元解同余方程组)

传送门SETITime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 1882Accepted: 1165DescriptionFor some years, quite a lot of work has been put into li...

2016-09-12 20:00:30

阅读数:739

评论数:0

POJ 2947 Widget Factory(高斯消元解同余方程组)

传送门Widget FactoryTime Limit: 7000MSMemory Limit: 65536KTotal Submissions: 5663Accepted: 1961DescriptionThe widget factory produces several different ...

2016-09-12 11:14:20

阅读数:807

评论数:0

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