自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

代码艺术的道与术

个人笔记,欢迎交流,仅供参考

  • 博客(28)
  • 资源 (1)
  • 收藏
  • 关注

原创 hdu2818(带权并查集)

Building BlockTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3081    Accepted Submission(s): 935题目链接:http://acm.hdu.edu.cn/showproble

2014-09-30 21:00:20 764

原创 hdu1272(并查集成环判断)

小希的迷宫Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 27080    Accepted Submission(s): 8358题目链接:http://acm.hdu.edu.cn/showproblem.php?p

2014-09-30 11:50:17 1402

原创 hdu2545(简单并查集)

树上战争Time Limit: 10000/4000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 543    Accepted Submission(s): 290题目链接:Problem Description给一棵树,如果树上的某个节点被

2014-09-29 21:46:48 683

原创 POJ1611(简单并查集)

The SuspectsTime Limit: 1000MS Memory Limit: 20000KTotal Submissions: 22938 Accepted: 11152题目链接:DescriptionSevere acute respiratory syndrome (SARS), an atypic

2014-09-29 21:08:59 517

原创 POJ2524(简单并查集)

Ubiquitous ReligionsTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 24762 Accepted: 12220题目链接:http://poj.org/problem?id=2524DescriptionThere are so

2014-09-29 20:44:49 630

原创 浅谈KMP算法

学习KMP之前有一点要知道,我们通常所知道的也容易xia

2014-09-27 22:04:59 689

原创 CF#269 (Div. 2) B

B. MUH and Important Thingstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt's time polar bears Menshy

2014-09-27 12:02:59 605

原创 CF#269 (Div. 2) A

A. MUH and Stickstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output题目链接:http://codeforces.com/contest/471/problem/A

2014-09-27 10:11:12 601

原创 POJ3461

OulipoTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 24338 Accepted: 9763DescriptionThe French author Georges Perec (1936–1982) once wrote a book,

2014-09-26 22:10:48 605

原创 判断点在三角形内外

思想:

2014-09-23 21:26:53 807

原创 判断点是否在线段上

思想:如果想pa

2014-09-23 21:02:31 5992

原创 向量叉积

思想:对于向量P(x1 , y1),Q(x2 , y2),

2014-09-23 20:36:35 723

原创 CF#246 (Div. 2) A.

A. Choosing Teamstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output题目链接:http://codeforces.com/contest/432/problem/A

2014-09-22 21:31:44 634

原创 向量点积

思想:      建一个向量数组,每个数组有起始点

2014-09-21 21:43:48 1277

原创 CF#268 (Div. 2) A.

A. I Wanna Be the Guytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere is a game called "I Wanna Be the

2014-09-21 09:47:39 747

原创 CF#267 (Div. 2) B

B. Fedor and New Gametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output题目链接:http://codeforces.com/contest/467/problem/BAfter you had help

2014-09-20 20:08:43 741

原创 CF#267 (Div. 2) A

A. George and Accommodationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGeorge has recently entered the BSUCP (Berland State Universit

2014-09-20 18:08:18 647

原创 CF#266 (Div. 2) C

C. Number of Waystime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou've got array a[1], a[2], ..., a[n], consisting of n integers. Count

2014-09-20 15:20:01 631

原创 CF #266 (Div. 2) B

B. Wonder Roomtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe start of the new academic year brought about the problem of accommodati

2014-09-20 13:35:26 916 2

原创 CF #266 (Div. 2) A.

A. Cheap Traveltime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output题目链接:Ann has recently started commuting by

2014-09-20 10:56:47 655

转载 写给C语言新手的话 (转)

首先声明啊,写这个是因为一些加我QQ的朋友问我学习经验,我才写的。另外,如果是二级党,那么请用谭浩强老师的书。然后你就可以不用看了。倒不是有偏见,而是我写的这个东西,根本不是为了考试,而是为了和新手交流怎么学习C语言,怎样编写代码的。【如果要看,最后三条那是一定要看的。】如果不是二级党,那么,开始: 一、      目的我们做什么事情都是有目的的,比如说我,学习编程的最

2014-09-16 22:33:23 855

原创 浙大历年考研真题(1)

题目链接:http://ac.jobdu.com/problem.php?pid=1010

2014-09-13 09:42:50 918

原创 LA 3027

Corporative NetworkTime Limit:3000MS    Memory Limit:0KB     64bit IO Format:%lld & %lluSubmitStatus Practice UVALive 3027 Appoint description:DescriptionA very big c

2014-09-07 11:14:36 636

原创 LA 3644

3644X-PlosivesA secret service developed a new kind of explosive that attain its volatile property only when a speci cassociation of products occurs. Each product is a mix of two different

2014-09-07 10:25:16 648

原创 CF#258 (Div. 2) B

B. Sort the Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output题目链接:Being a programmer, you like arrays

2014-09-06 20:47:31 528

原创 秋天里

还记得许多年前的秋天那时的我还没留着短发没有信用卡也没有她没有24小时不断的电压可当初的我是那么快乐虽然只有一把青轴键盘在教室在寝室在实验室敲着那无人问津的代码如果有一天,我老无所依请把我留在,在那时光里如果有一天,我悄然离去请把我埋在,这秋天里还记得那些寂寞的秋天那时的我还没这样屌丝没有情人节没有礼物没有

2014-09-05 23:12:55 655

原创 2014年9月5日还有两天中秋有感

成长是无期的流放。

2014-09-05 21:21:22 880 2

原创 CF#263 (Div. 1) A

A. Appleman and Toastmantime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAppleman and Toastman play a g

2014-09-01 22:47:50 776

贪吃蛇 源码

适合C++初学者,实现简单的贪吃蛇游戏。里面都是源码,很容易看懂

2014-04-06

空空如也

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

TA关注的人

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