自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

空白页

起航!

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

原创 Truck History——最小生成树

Truck HistoryTime Limit:2000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionAdvanced Cargo Movement, Ltd. uses trucks of different types. Som

2014-07-31 22:34:46 443

原创 Building a Space Station——最小生成树

Building a Space StationTime Limit:1000MS     Memory Limit:30000KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionYou are a member of the space station engineering team

2014-07-31 22:28:24 510

原创 Borg Maze——BFS+最小生成树

Borg MazeTime Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThe Borg is an immensely powerful race of enhanced humanoids from the

2014-07-31 22:19:27 618

原创 Shortest Prefixes

Shortest PrefixesTime Limit:1000MS     Memory Limit:30000KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionA prefix of a string is a substring starting at the beginning

2014-07-31 22:14:29 483

原创 字符串替换

字符串替换Time Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit StatusDescription编写一个C程序实现将字符串中的所有"you"替换成"we"Input输入包含多行数据 每行数据是一个字符串

2014-07-31 00:17:04 456

原创 简单字符串排序

简单字符串排序Time Limit:5000MS     Memory Limit:100000KB     64bit IO Format:%lld & %lluSubmit StatusDescription从键盘输入10个学生的姓名和成绩,请按字典序排列学生的姓名并输出(姓名和成绩对应关系保持不变)。Input输入共11行,

2014-07-31 00:16:09 554

原创 Bone Collector——01背包

Bone CollectorTime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionMany years ago , in Teddy’s hometown there was a man who was calle

2014-07-31 00:15:43 505 1

原创 Piggy-Bank——完全背包

Piggy-BankTime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionBefore ACM can do anything, a budget must be prepared and the necessar

2014-07-31 00:12:27 534

原创 最大报销额——01背包

最大报销额Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescription现有一笔经费可以报销一定额度的发票。允许报销的发票类型包括买图书(A类)、文具(B类)、差旅(C类),要求每张发票的总额不得超过1000元,每张发票上

2014-07-31 00:07:46 502

原创 The Great Pan——模拟

zhe'shi'yi#include #include #include #includeusing namespace std;char a[2123456];int main(){ long long i,j,k,n,u,m,t; int f1,f2; while(scanf(" %I64d ",&n)!=EOF) { m

2014-07-31 00:01:14 652

原创 Orders——字符串

#include #include #include #include #include using namespace std;int main(){ char a[202]; int l; while(gets(a)!=NULL) { l = strlen(a); sort(a,a+l); p

2014-07-30 23:57:11 479

原创 FATE——完全背包

FATETime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescription最近xhd正在玩一款叫做FATE的游戏,为了得到极品装备,xhd在不停的杀怪做任务。久而久之xhd开始对杀怪产生的厌恶感,但又不得不通过杀怪来升完这最后

2014-07-30 23:42:02 515

原创 Ultra-QuickSort——归并排序

Ultra-QuickSortTime Limit:7000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionIn this problem, you have to analyze a particular sorting algor

2014-07-30 00:06:06 514

原创 Biorhythms——中国剩余定理

BiorhythmsTime Limit:1000MS     Memory Limit:10000KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionSome people believe that there are three cycles in a person's life t

2014-07-30 00:00:56 485

原创 胜利大逃亡——BFS

胜利大逃亡Time Limit:2000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionIgnatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会.魔王住在一个城堡里,城堡是一个A*B*C的立方体,可以被

2014-07-29 23:54:19 480

原创 救基友记3——三维数组记录BFS

救基友记3Time Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%lld & %lluSubmit StatusDescription  话说CZ由于不守基道,被妖怪抓走了,好基友WP在努力讨好高富帅RQ救出CZ的同时,CZ也意识到了自己的错误,然后努力的想逃出妖怪的闺房。 

2014-07-29 23:54:18 684

原创 Pots——BFS

PotsTime Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%lld & %lluSubmit StatusDescriptionYou are given two pots, having the volume of A and B liters respectively. The

2014-07-29 23:38:45 548

原创 找朋友

找朋友Time Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%lld & %lluSubmit StatusDescriptionX,作为户外运动的忠实爱好者,总是不想呆在家里。现在,他想把死宅Y从家里拉出来。问从X的家到Y的家的最短时间是多少。Input多组输入

2014-07-29 23:32:23 592

原创 Count on Canton

Count on CantonTime Limit:1000MS     Memory Limit:30000KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionOne of the famous proofs of modern mathematics is Georg Cantor'

2014-07-29 23:21:44 734

原创 Agri-Net——Prem

Agri-NetTime Limit:1000MS     Memory Limit:10000KB     64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 1258DescriptionFarmer John has been elected mayor of his town! On

2014-07-28 23:23:03 553

原创 Elevator

ElevatorTime Limit:2000MS     Memory Limit:65536KB     64bit IO Format:%lld & %lluSubmit Status Practice ZOJ 2108DescriptionThe highest building in our city has only one elevator.

2014-07-28 22:55:36 909

原创 Colored Sticks

Colored SticksTime Limit:5000MS     Memory Limit:128000KB     64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 2513DescriptionYou are given a bunch of wooden sticks. Eac

2014-07-28 21:33:41 732

原创 字典树小结

1.概念:

2014-07-27 16:20:32 517

空空如也

空空如也

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

TA关注的人

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