自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(39)
  • 收藏
  • 关注

原创 冒泡排序和快速排序耗时比较(时间复杂度的理想与现实)

一个简单的题:测试一:

2014-08-28 20:32:02 7022 1

原创 UVA - 10881 Piotr's Ants

Piotr's AntsCrawling in process...DescriptionProblem DPiotr's AntsTime Limit: 2 seconds"One thing is for certain: there is no stopping them;the

2014-08-24 18:49:59 388

原创 POJ - 3154 Graveyard

GraveyardTime Limit: 2000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionProgramming contests became so p

2014-08-24 12:49:52 424

原创 UVA - 11300 Spreading the Wealth

Spreading the WealthTime Limit: 6000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu[Submit]   [Go Back]   [Status]  Description F. Spreading

2014-08-23 17:22:39 339

原创 UVA - 11729 Commando War

Commando WarTime Limit: 1000MSMemory Limit: Unknown64bit IO Format: %lld & %llu[Submit]   [Go Back]   [Status]  DescriptionGCommando WarInput: S

2014-08-23 10:44:52 357

原创 UVA - 11292 Dragon of Loowater

Dragon of LoowaterTime Limit: 1000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu[Submit]   [Go Back]   [Status]  DescriptionProblem C: The Dragon o

2014-08-22 20:07:39 455

原创 HDU - 1325 Is It A Tree?

Is It A Tree?Time Limit: 1000MS Memory Limit: 32768KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionA tree is a well-known data stru

2014-08-22 10:59:17 294

原创 HDU - 1272 小希的迷宫(并查集)

小希的迷宫Time Limit: 1000MS Memory Limit: 32768KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  Description上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一

2014-08-21 21:28:24 314

原创 HDU - 1213 How Many Tables

How Many TablesTime Limit: 1000MS Memory Limit: 32768KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionToday is Ignatius' birthday. H

2014-08-21 20:09:02 296

原创 POJ - 2485 Highways(prim算法,Kruskal算法)

HighwaysTime Limit: 1000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionThe island nation of Flatopia is pe

2014-08-19 11:05:24 378

原创 CSU - 1256 天朝的单行道

天朝的单行道Time Limit: 1000MS Memory Limit: 131072KB 64bit IO Format: %lld & %llu[Submit]   [Go Back]   [Status]  Description    在另一个平行宇宙中,有一个神奇的国度名叫天朝。天朝一共有N个城市(标

2014-08-16 14:57:21 371

原创 HDU - 1695 GCD

GCDTime Limit: 3000MS Memory Limit: 32768KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionGiven 5 integers: a, b, c, d, k, you're to

2014-08-14 12:49:40 282

原创 POJ - 2478 Farey Sequence

Farey SequenceTime Limit: 1000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionThe Farey Sequence Fn for any

2014-08-13 13:11:44 264

原创 POJ - 3090 Visible Lattice Points

Visible Lattice PointsTime Limit: 1000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionA lattice point (x,

2014-08-13 10:49:47 328

原创 CSU-ACM暑假集训基础组训练赛(5-1) A - Problem A

A - Problem ATime Limit:2000MS     Memory Limit:0KB     64bit IO Format:%lld & %lluSubmit Status Practice SPOJ QUEST5DescriptionTo get to the treasure, Jones must complete one mo

2014-08-12 16:43:57 466

原创 POJ - 2366 Sacrament of the sum

Sacrament of the sumTime Limit: 1000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  Description— The Brother of mine,

2014-08-11 22:37:50 333

原创 HDU - 2141 Can you find it?

Can you find it?Time Limit: 3000MS Memory Limit: 10000KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionGive you three sequences of n

2014-08-11 21:19:22 335

原创 CSU-ACM暑假集训基础组训练赛(5-1) C - Problem C

C - Problem CTime Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %lluSubmit Status Practice SPOJ GNYR09FDescriptionFor a string of n bits x1,x2,x3,...,Xn the adjacent

2014-08-11 17:07:41 433

原创 CSU-ACM暑假集训基础组训练赛(5-1) B - Problem B

B - Problem BTime Limit:2000MS     Memory Limit:0KB     64bit IO Format:%lld & %lluSubmit Status Practice SPOJ FAVDICEDescriptionBuggyD loves to carry his favorite die around. Perh

2014-08-11 15:55:18 427

原创 ZOJ - 1008 Gnome Tetravex

Gnome TetravexTime Limit: 10000MS Memory Limit: 32768KB 64bit IO Format: %lld & %llu[Submit]   [Go Back]   [Status]  DescriptionHart is engaged in playing an in

2014-08-10 22:21:08 368

原创 ZOJ - 1709 Oil Deposits

Oil DepositsTime Limit: 2000MS Memory Limit: 65536KB 64bit IO Format: %lld & %llu[Submit]   [Go Back]   [Status]  DescriptionThe GeoSurvComp geologic survey com

2014-08-10 12:53:42 315

原创 POJ - 1458 Common Subsequence

Common SubsequenceTime Limit: 1000MS Memory Limit: 10000KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionA subsequence of a given

2014-08-09 22:24:19 249

原创 HDU - 1087 Super Jumping! Jumping! Jumping!

Super Jumping! Jumping! Jumping!Time Limit: 1000MS Memory Limit: 32768KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionNowadays, a k

2014-08-09 20:27:00 212

原创 ZOJ - 1093 Monkey and Banana

Monkey and BananaTime Limit: 2000MS Memory Limit: 65536KB 64bit IO Format: %lld & %llu[Submit]   [Go Back]   [Status]  DescriptionA group of researchers are des

2014-08-09 15:54:12 432

原创 HDU - 2222 Keywords Search

Keywords SearchTime Limit: 1000MS Memory Limit: 32768KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionIn the modern time, Search eng

2014-08-08 23:11:53 356

原创 POJ - 1523 SPF

SPFTime Limit: 1000MS Memory Limit: 10000KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionConsider the two networks shown below. A

2014-08-08 23:03:40 220

原创 HDU - 1166 敌兵布阵 树状数组做法

敌兵布阵Time Limit: 1000MS Memory Limit: 32768KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionC国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tid

2014-08-07 21:14:07 359

原创 POJ - 2352 Stars 树状数组做法

StarsTime Limit: 1000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionAstronomers often examine star maps wh

2014-08-07 17:23:36 312

原创 POJ - 2503 Babelfish 字典树做法

BabelfishTime Limit: 3000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionYou have just moved from Waterloo

2014-08-06 11:05:06 386

原创 HDU - 1358 Period

PeriodTime Limit: 1000MS Memory Limit: 32768KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionFor each prefix of a given string S wit

2014-08-05 14:30:05 364

原创 POJ - 2406 Power Strings

Power StringsTime Limit: 3000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionGiven two strings a and b we d

2014-08-05 10:39:13 285

原创 HDU - 1686 Oulipo

OulipoTime Limit: 1000MS Memory Limit: 32768KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionThe French author Georges Perec (1936�1

2014-08-05 09:36:59 650

原创 HDU - 1711 Number Sequence

Number SequenceTime Limit: 5000MS Memory Limit: 32768KB 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]  DescriptionGiven two sequences of numbers

2014-08-04 23:01:53 297

原创 ZOJ Monthly, June 2014 C - Consecutive Blocks

C - Consecutive BlocksTime Limit:2000MS     Memory Limit:65536KB     64bit IO Format:%lld & %lluSubmit Status Practice ZOJ 3790DescriptionThere are N (1 ≤ N ≤ 105) colored blocks (

2014-08-04 10:39:32 319

原创 ZOJ Monthly, June 2014 F - First Digit

F - First DigitTime Limit:2000MS     Memory Limit:65536KB     64bit IO Format:%lld & %lluSubmit StatusDescriptionBenford's Law, also called the First-Digit Law, refers to the frequ

2014-08-03 17:12:15 789

原创 CSU-ACM暑假集训基础组七夕专场 F - Problem F

F - Problem FTime Limit:500MS     Memory Limit:0KB     64bit IO Format:%lld & %lluSubmit Status Practice SPOJ NITK06DescriptionSuppose we have a sequence of non-negative integers

2014-08-02 18:51:07 327

原创 CSU-ACM暑假集训基础组七夕专场 D - Problem D

D - Problem DTime Limit:5000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 4CDescriptionA new e-mail service "Berlandesk" is going

2014-08-02 18:42:51 395

原创 Codeforces Round #259 (Div. 1) A. Little Pony and Expected Maximum

A. Little Pony and Expected Maximumtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputTwilight Sparkle was pla

2014-08-02 17:03:01 297

原创 hdu 1754 I Hate It

I Hate ItTime Limit: 9000/3000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 37381    Accepted Submission(s): 14779Problem Description很多学校流行一种比较的习惯。老师们很

2014-08-01 16:54:53 369

空空如也

空空如也

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

TA关注的人

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