K键盘里的青春K

我曾经失去的荣耀,我定加倍夺回

HDU 5646 DZY Loves Partition(数学)

DZY Loves Partition Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 1444    Accepted Sub...

2016-09-27 15:15:38

阅读数:357

评论数:0

lightoj 1005 - Rooks(组合数学)

1005 - Rooks PDF (English) Statistics Forum Time Limit: 1 second(s) Memory Limit: 32 MB Sample Input Output for Sample Inpu...

2016-09-26 21:28:16

阅读数:473

评论数:0

POJ 2352_Stars && POJ-2481 Cows (线段树单点更新+树状数组)

C - Cows Time Limit:3000MS     Memory Limit:65536KB     64bit IO Format:%lld & %llu Submit Status Practice POJ 2481 Description Farmer Jo...

2016-09-26 20:13:56

阅读数:479

评论数:0

CodeForces 616D Longest k-Good Segment(尺取)

D. Longest k-Good Segment time limit per test  1 second memory limit per test  256 megabytes input  standard input output  st...

2016-09-25 20:18:29

阅读数:354

评论数:0

BestCoder Round #87 1003 && hdu 5904(递推

LCIS    Accepts: 109    Submissions: 775  Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) 问题描述 A...

2016-09-25 19:51:27

阅读数:461

评论数:0

Codeforces Round #373 (Div. 2) A(细节题) && B(思维题)

A. Vitya in the Countryside time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output E...

2016-09-24 16:35:39

阅读数:384

评论数:0

poj 3320 Jessica's Reading Problem (尺取法+记录数据方式)

Description Jessica's a very lovely girl wooed by lots of boys. Recently she has a problem. The final exam is coming, yet she has spent little time ...

2016-09-23 14:10:13

阅读数:354

评论数:0

POJ 3061 Subsequence(尺取法)

Subsequence Time Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%lld & %llu Submit Status Description A sequence of N ...

2016-09-23 13:05:34

阅读数:433

评论数:0

poj 1426 Find The Multiple(搜索)

A - Find The Multiple Time Limit:1000MS     Memory Limit:10000KB     64bit IO Format:%lld & %llu Submit Status Practice POJ 1426 D...

2016-09-23 00:15:59

阅读数:429

评论数:0

拓扑排序

一、概述   对一个有向无环图(Directed Acyclic Graph简称DAG)G进行拓扑排序,是将G中所有顶点排成一个线性序列,使得图中任意一对顶点u和v,若 ∈E(G),则u在线性序列中出现在v之前。     通常,这样的线性序列称为满足拓扑次序(TopoiSicai Order)...

2016-09-21 17:01:32

阅读数:394

评论数:0

次小生成树

次小生成树的定义 设 G=(V,E,w)是连通的无向图,T 是图G 的一个最小生成树。如果有另一棵树T1,满 足不存在树T’,ω(T’) 求解次小生成树的算法 约定:由T 进行一次可行交换得到的新的生成树所组成的集合,称为树T的邻集,记为N(T)。 定理 3:设T是图G的最小生成...

2016-09-21 14:54:51

阅读数:2671

评论数:1

poj 1088 && nyoj 10 滑雪(记忆化搜索)

滑雪 Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 92451   Accepted: 34973 Description Michael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度...

2016-09-20 23:59:22

阅读数:380

评论数:0

杨辉三角

先说说杨辉三角性质: 前提:端点的数为1. 每个数等于它上方两数之和。 每行数字左右对称,由1开始逐渐变大。 第n行的数字有n项。 第n行数字和为2n-1。 ★第n行的m个数可表示为 C(n-1,m-1),即为从n-1个不同元素中取m-1个元素的组合数。 第n行的第m...

2016-09-19 12:39:40

阅读数:507

评论数:0

codeforces round#372(div2 C) C. Plus and Square Root

C. Plus and Square Root ZS the Coder is playing a game. There is a number displayed on the screen and there are two buttons, ' + ' (plus) and '' (...

2016-09-18 13:57:10

阅读数:1331

评论数:0

Codeforces Round #372 (Div. 2) B. Complete the Word

B. Complete the Word ZS the Coder loves to read the dictionary. He thinks that a word is nice if there exists a substring (contiguous se...

2016-09-18 13:26:20

阅读数:660

评论数:0

lightoj 1042 Secret Origins(位运算符号的应用)

1042 - Secret Origins     PDF (English) Statistics Forum Time Limit: 0.5 second(s) Memory Limit: 32 MB This is the tale of Zephyr, t...

2016-09-17 15:23:17

阅读数:589

评论数:0

poj 2109 && lightoj 1045(double的应用)

A - Power of Cryptography Time Limit:1000MS     Memory Limit:30000KB     64bit IO Format:%lld & %llu Submit Status Practice POJ 2109 Descri...

2016-09-16 22:11:46

阅读数:407

评论数:0

Codeforces Round #371 (Div. 2)C. Sonya and Queries

C. Sonya and Queries time limit per test 1 second memory limit per test 256 megabytes input standard input output standard ou...

2016-09-14 14:30:34

阅读数:663

评论数:1

Codeforces Round #371 (Div. 2)B. Filya and Homework

B. Filya and Homework time limit per test 1 second memory limit per test 256 megabytes input standard input output standard o...

2016-09-14 13:02:34

阅读数:417

评论数:0

Codeforces Round #371 (Div. 2) A. Meeting of Old Friends

A. Meeting of Old Friends time limit per test 1 second memory limit per test 256 megabytes input standard input output standa...

2016-09-14 12:52:35

阅读数:424

评论数:0

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