自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

空白页

起航!

  • 博客(25)
  • 收藏
  • 关注

原创 无向图边连通性 ZOJ2588 Burning Bridges

Burning BridgesTime Limit:5000MS     Memory Limit:32768KB     64bit IO Format:%lld & %lluSubmit StatusDescriptionFerry Kingdom is a nice little country located on N islands that ar

2014-08-26 09:48:52 544

原创 点乘,叉乘总结

学长说,高中时我们学习点乘,叉乘什么什么的东西,我想说,wo'zen'me

2014-08-17 21:35:32 1686

原创 strstr函数

串结构练习——字符串匹配Time Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%lld & %lluSubmit Status Practice SDUTOJ 2125Description  给定两个字符串string1和string2,判断string2是否为string1的子串。

2014-08-14 16:10:35 956

原创 hdu 1086 You can Solve a Geometry Problem too

You can Solve a Geometry Problem tooDescriptionMany geometry(几何)problems were designed in the ACM/ICPC. And now, I also prepare a geometry problem for this final exam. According to the exp

2014-08-13 23:49:20 528

原创 POJ(1151)——Atlantis(线段树 扫描线)

AtlantisTime Limit:1000MS     Memory Limit:10000KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThere are several ancient Greek texts that contain descriptions of the

2014-08-12 00:45:40 637

原创 HDU1505——City Game(扫描线)

City GameTime Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %lluSubmit StatusDescriptionBob is a strategy game programming specialist. In his new city building gam

2014-08-11 14:35:11 496

原创 POJ 3349—— Snowflake Snow Snowflakes

You may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this is really true. Your program will read information about a collection of snowflakes, and

2014-08-10 15:53:38 603

原创 青蛙的约会——模线性方程

青蛙的约会Time Limit:1000MS     Memory Limit:10000KB     64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 1061Description两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上,于是

2014-08-09 21:06:37 426

原创 STL总结

一:队列:(1):

2014-08-09 00:41:15 410

原创 I Hate It——线段树

I Hate ItTime Limit:3000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescription很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。 这让很多学生很反感。 不管你喜不喜欢,现在需要

2014-08-08 20:45:59 442

原创 Fermat’s Chirstmas Theorem——素数筛

Fermat’s Chirstmas TheoremTime Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%lld & %lluSubmit StatusDescriptionIn a letter dated December 25, 1640; the great mathemati

2014-08-05 23:22:07 459

原创 For Fans of Statistics——vector

For Fans of StatisticsTime Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionHave you ever thought about how many people are transpor

2014-08-05 21:46:32 454

原创 Surprising Strings——MAP

Surprising StringsTime Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThe D-pairs of a string of letters are the ordered pairs of

2014-08-05 21:39:50 453

原创 Hardwood Species——MAP

Hardwood SpeciesTime Limit:10000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionHardwoods are the botanical group of trees that have broad le

2014-08-05 21:31:55 466

原创 Message Flood——MAP

Message FloodTime Limit:1500MS     Memory Limit:65536KB     64bit IO Format:%lld & %lluSubmit StatusDescriptionWell, how do you feel about mobile phone? Your answer would probably

2014-08-05 21:17:47 774

原创 合并果子之哈夫曼树——优先队列解决哈夫曼

树-堆结构练习——合并果子之哈夫曼树Time Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%lld & %lluSubmit StatusDescription 在一个果园里,多多已经将所有的果子打了下来,而且按果子的不同种类分成了不同的堆。多多决定把所有的果子合成一堆。每一次合并,

2014-08-05 21:07:05 879

原创 Sequence——优先队列

SequenceTime Limit:6000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionGiven m sequences, each contains n non-negative integer. Now we may se

2014-08-05 20:57:59 733

原创 Black Box——优先队列

Black BoxTime Limit:1000MS     Memory Limit:10000KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionOur Black Box represents a primitive database. It can save an integer array and has a speci

2014-08-05 20:28:44 549

原创 Black Box——优先队列

Black BoxTime Limit:1000MS     Memory Limit:10000KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionOur Black Box represents a primitive database. It can save an integer

2014-08-05 20:25:50 797

原创 Reward——前向星,拓扑排序

RewardTime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionDandelion's uncle is a boss of a factory. As the spring festival is coming

2014-08-01 21:32:07 530

原创 产生冠军——拓扑排序

产生冠军Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescription有一群人,打乒乓球比赛,两两捉对撕杀,每两个人之间最多打一场比赛。球赛的规则如下:如果A打败了B,B又打败了C,而A与C之间没有进行过比赛,那么

2014-08-01 21:11:02 596

原创 确定比赛名次——拓扑排序

确定比赛名次Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescription有N个比赛队(1 Input输入有若干组,每组中的第一行为二个数N(1 Output

2014-08-01 20:44:34 570

原创 最短路径问题

最短路径问题Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescription给你n个点,m条无向边,每条边都有长度d和花费p,给你起点s终点t,要求输出起点到终点的最短距离及其花费,如果最短距离有多条路线,则输出花费最少的。

2014-08-01 20:26:42 579

原创 一个人的旅行——最短路

一个人的旅行Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescription虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅行,因为在旅途中 会遇见很多人(白马王子,^0^),很

2014-08-01 20:20:01 540

原创 六度分离——最短路

六度分离Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescription1967年,美国著名的社会学家斯坦利・米尔格兰姆提出了一个名为“小世界现象(small world phenomenon)”的著名假说,大意是说,任何2

2014-08-01 20:01:56 461

空空如也

空空如也

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

TA关注的人

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