自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(22)
  • 资源 (2)
  • 收藏
  • 关注

原创 FZU 2138 久违的月赛之一

Problem 2138 久违的月赛之一Accept: 262    Submit: 553Time Limit: 1000 mSec    Memory Limit : 32768 KB Problem Description好久没举月赛了,这次lqw给大家出了5道题,因为hsy学长宣传的很到位,吸引了n个DDMM们来做,另一位kk学长说,全做对的要给金奖,做对4

2017-11-25 14:13:09 233

原创 Codeforces 797A k-Factorization

A. k-Factorizationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGiven a positive integer n, find k integ

2017-11-22 20:02:50 394

原创 Codeforces 894C C. Marco and GCD Sequence

C. Marco and GCD Sequencetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn a dream Marco met an elderly ma

2017-11-21 10:51:25 468

转载 KM算法详解+模板(二分图最大权值匹配)

转载自:http://www.cnblogs.com/wenruo/p/5264235.htmlKM算法用来求二分图最大权完美匹配。本文配合该博文服用更佳:趣写算法系列之--匈牙利算法 本文没有给出KM算法的原理,只是模拟了一遍算法的过程。另,博主水平较差,发现问题欢迎指出,谢谢!!!! 现在有N男N女,有些男生和女生之间互相有好感,我们将其好感

2017-11-20 20:09:42 10995 3

原创 Codeforces 894B Ralph And His Magic Field

B. Ralph And His Magic Fieldtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputRalph has a magic field which i

2017-11-20 18:50:47 967

原创 Aizu ALDS1_7_C Tree Walk

Tree - Tree WalkTime Limit : 1 sec, Memory Limit : 65536 KB Japanese version is hereTree WalkBinary trees are defined recursively. A binary tree T is a structure defined on a fin

2017-11-19 19:27:46 352

原创 Aizu ALDS1_7_B Binary Trees

Tree - Binary TreesTime Limit : 1 sec, Memory Limit : 65536 KB Japanese version is hereBinary TreeA rooted binary tree is a tree with a root node in which every node has at most

2017-11-19 18:56:39 351

原创 Aizu ALDS1_7_A Rooted Trees

Tree - Rooted TreesTime Limit : 2 sec, Memory Limit : 65536 KB Japanese version is hereRooted TreesA graph G = (V, E) is a data structure where V is a finite set of vertices an

2017-11-19 15:34:17 419

原创 Codeforces 892C.Pride

C. Pridetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have an array a with length n, you can perfo

2017-11-18 15:42:27 512

原创 Codeforces 892B. Wrath

B. Wrathtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputHands that shed innocent blood!There are n gui

2017-11-18 09:45:10 621

原创 Codeforces 892A. Greed

A. Greedtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputJafar has n cans of cola. Each can is described by

2017-11-18 09:10:48 551

原创 ZOJ 3713 In 7-bit

In 7-bitTime Limit: 2 Seconds      Memory Limit: 65536 KBVery often, especially in programming contests, we treat a sequence of non-whitespace characters as a string. But sometimes, a string

2017-11-17 10:26:48 247

转载 关于卡特兰数

转载自:https://www.cnblogs.com/jiayouwyhit/p/3222973.html1.基于栈的问题分析我们把n个元素的出栈个数的记为f(n), 那么对于1,2,3, 我们很容易得出:                                  f(1) = 1     //即 1                  

2017-11-13 21:54:38 555

原创 51nod 1266 蚂蚁

1266 蚂蚁题目来源: Poj基准时间限制:1 秒 空间限制:131072 KB 分值: 20 难度:2级算法题 收藏 关注n只蚂蚁以每秒1cm的速度在长为Lcm的竿子上爬行。当蚂蚁爬到竿子的端点时就会掉落。由于竿子太细,两只蚂蚁相遇时,它们不能交错通过,只能各自反向爬回去。对于每只蚂蚁,我们知道它距离竿子左端的距离xi,但不知

2017-11-12 10:49:51 248

转载 线段树入门&lazy思想

转自:点击打开链接线段树将区间分成若干个子区间,子区间又继续分,直到区间为一个点(区间左值等于右值)对于父区间[a,b],其子区间为[a,(a+b)/2]和[(a+b)/2+1,b] 用于求区间的值,如区间最值、区间的和等。代码实现中,约定结点下标从1开始,所以某结点下标为x,那么左儿子下标为2x,右儿子下标为2x+1,父结点下标为x/2。

2017-11-07 18:07:25 236

原创 HDU 5536 Chip Factory

Chip FactoryTime Limit: 18000/9000 MS (Java/Others)    Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 4023    Accepted Submission(s): 1782Problem DescriptionJohn is a

2017-11-05 20:38:47 201

原创 POJ 2001 Shortest Prefixes

Shortest PrefixesTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 19683 Accepted: 8538DescriptionA prefix of a string is a substring starting at the be

2017-11-05 20:35:53 203

原创 hihocoder 1014 Trie树

#1014 : Trie树时间限制:10000ms单点时限:1000ms内存限制:256MB描述小Hi和小Ho是一对好朋友,出生在信息化社会的他们对编程产生了莫大的兴趣,他们约定好互相帮助,在编程的学习道路上一同前进。这一天,他们遇到了一本词典,于是小Hi就向小Ho提出了那个经典的问题:“小Ho,你能不能对于每一个我给出的字符串,都在

2017-11-05 20:31:24 183

原创 POJ 1731 Orders

OrdersTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 11122 Accepted: 6648DescriptionThe stores manager has sorted all kinds of goods in an alphabetic

2017-11-04 23:08:27 208

原创 HDU 1251 统计难题

统计难题Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 131070/65535 K (Java/Others)Total Submission(s): 45902    Accepted Submission(s): 16327Problem DescriptionIgnatius最近遇到一个难题,老

2017-11-04 22:36:55 176

原创 HDU 1698 Just a Hook

Just a HookTime Limit: 4000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 36260    Accepted Submission(s): 17682Problem DescriptionIn the game

2017-11-03 21:13:23 198

原创 HDU 1166 敌兵布阵

敌兵布阵Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 101984    Accepted Submission(s): 43095Problem DescriptionC国的死对头A国这段时间正在进行军事

2017-11-02 21:40:00 3799 1

TCP/IP网络编程 [韩] 尹圣雨(带书签)

第一部分主要介绍网络编程基础知识。此部分主要论述Windows和Linux平台网络编程必备基础知识,未过多涉及不同操作系统特性。 第二部分和第三部分与操作系统有关。第二部分主要是Linux相关内容,而第三部分主要是Windows相关内容。从事Windows编程的朋友浏览第二部分内容后,同样可以提高技艺。 第四部分对全书内容进行总结,包含了作者在自身经验基础上总结的学习建议,还介绍了网络编程经典书籍

2019-04-19

浅析最大最小定理在信息学竞赛中的应用--周冬

周冬神犇的浅析最大最小定理在信息学竞赛中的应用,网络流,分数规划...

2018-06-10

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

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