自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 hdu 1254 推箱子

题目:推箱子Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7429    Accepted Submission(s): 2126Problem Description推箱子是一个很经典的游戏.今天我们来玩一个简单

2016-07-28 09:22:11 367

原创 csu 1329 一行盒子

题目: 一行盒子Crawling failedSubmit Status Practice CSU 1329Description你有一行盒子,从左到右依次编号为1, 2, 3,…, n。你可以执行四种指令:1 X Y表示把盒子X移动到盒子Y左边(如果X已经在Y的左边则忽略此指令)。2 X Y表示把盒子X移动到盒子Y右边(如果X已经在Y的右边则忽略此指令)。3 

2016-05-23 19:50:32 384

原创 hdu 5690 All X

题目:All XTime Limit: 1000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64uSubmit StatusDescription 代表一个全是由数字组成的位数字。请计算,以下式子是否成立:  Input

2016-05-21 21:01:42 331

原创 hdu 5695 Gym Class

题目:Gym ClassTime Limit: 1000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64uSubmit StatusDescription众所周知,度度熊喜欢各类体育活动。 今天,它终于当上了梦寐以求的体育课老师。第

2016-05-21 20:38:14 312

原创 hdu 2544 最短路

题目:最短路Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 2544Description在每年的校赛里,所有进入决赛的同学都会获得一件很漂亮的t-shirt。但是每当我们的工作人员把上百件的衣服从商店运回到赛场的时候,却

2016-05-21 10:58:08 228

原创 poj 1789 Truck History

题目:Truck HistoryTime Limit:2000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 1789DescriptionAdvanced Cargo Movement, Ltd. uses trucks of different t

2016-05-21 10:53:03 182

原创 uva 10034 Freckles

题目:FrecklesTime Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %lluSubmit Status Practice UVA 10034DescriptionIn an episode of the Dick Van Dyke show, little Richie connects th

2016-05-21 10:24:33 366

原创 hdu 1166敌兵布阵

题目:敌兵布阵Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1166DescriptionC国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵

2016-05-21 10:03:44 291

原创 hdu 1247 Hat’s Words

题目:Hat’s WordsTime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1247DescriptionA hat’s word is a word in the dictionary that is the conca

2016-05-21 09:51:57 215

原创 hdu 5199 Comparison of Android version

题目: Comparison of Android versionsTime Limit:4000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 5199DescriptionLong long ago, there is a gunner whose

2016-05-20 11:24:41 311

原创 poj 3253 Fence Repair

题目:Fence RepairTime Limit:2000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 3253DescriptionFarmer John wants to repair a small length of the fence a

2016-05-20 11:17:05 198

原创 hdu 1060 Leftmost Digit

题目:Leftmost DigitTime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1060DescriptionGiven a positive integer N, you should output the leftm

2016-05-20 10:29:48 313

原创 hdu 1262 寻找素数对

题目:寻找素数对Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1262Description哥德巴赫猜想大家都知道一点吧.我们现在不是想证明这个结论,而是想在程序语言内部能够表示的数集中,任意取出一个偶数,来寻找两个素数

2016-05-20 10:14:17 294

原创 hdu 1147 Pick-up sticks

题目:Pick-up sticksTime Limit:2000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionStan has n sticks of various length. He throws them one at a time on the 

2016-05-20 09:39:33 226

原创 hdu 4709 Herding

题目:A - HerdingTime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionLittle John is herding his father's cattles. As a lazy boy, he cannot tolera

2016-05-19 20:49:53 274

原创 hdu 1086 You can Solve a Geometry Problem too

题目:B - You can Solve a Geometry Problem tooTime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionMany geometry(几何)problems were designed in the 

2016-05-19 20:42:06 347

原创 bc 神奇的字典

题目:神奇的字典Submissions: 3373Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 131072/131072 K (Java/Others) Description度熊手上有一本神奇的字典,你可以在它里面做如下三个操作:1、insert : 往神奇字典中插入一个单词2、delete: 在神奇字典

2016-05-14 21:14:55 799

原创 nyoj 349 poj 1094 Sorting It All Out

题目:Sorting It All Out时间限制:3000 ms  |  内存限制:65535 KB难度:3描述An ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order th

2016-05-11 14:50:39 228

原创 nyoj 973 天下第一

题目:天下第一时间限制:1000 ms  |  内存限制:65535 KB难度:3描述AC_Grazy一直对江湖羡慕不已,向往着大碗吃肉大碗喝酒的豪情,但是“人在江湖漂,怎能不挨刀",”人在江湖身不由己",如果自己的武功太差,在江湖会死的很惨,但是AC_Grazy没有 武功秘籍练不了绝世武功.有道是“山重水复疑无路,柳暗花明又一村”,在AC_Grazy家里面 

2016-05-10 17:18:24 663

原创 UVA 1335 Beijing Guards

题目:M - Beijing GuardsTime Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %lluSubmit Status Practice UVA 1335DescriptionBeijing was once surrounded by four rings of city walls: 

2016-05-09 10:42:49 511

原创 POJ 2342 Anniversary party

题目:Anniversary partyTime Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 2342DescriptionThere is going to be a party to celebrate the 80-th 

2016-05-09 10:14:47 245

原创 UVA 10285 Longest Run on a Snowboard

题目:J - Longest Run on a SnowboardTime Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %lluSubmit Status Practice UVA 10285DescriptionMichael likes snowboarding. That's not very 

2016-05-09 09:37:22 237

原创 uva 3485 Optimal Array Multiplication Sequence

题目:I - Optimal Array Multiplication SequenceTime Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %lluSubmit Status Practice UVA 348DescriptionGiven two arrays A and B, we can de

2016-05-09 09:14:16 1466

原创 uva 116 Unidirectional TSP

题目:G - Unidirectional TSPTime Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %lluSubmit Status Practice UVA 116DescriptionBackgroundProblems that require minimum paths throug

2016-05-09 08:53:26 927

原创 uva 10003 Cutting Sticks

题目:F - Cutting SticksTime Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %lluYou have to cut a wood stick into pieces. The most affordable company, The Analog Cutting Machinery, Inc

2016-05-09 08:38:51 800

原创 hdu 5005 Compromise

题目: CompromiseIn a few months the European Currency Union will become a reality. However, to join the club, the Maastricht criteria must be fulfilled, and this is not a trivial task for the countrie

2016-05-07 13:54:01 492

原创 uva 10534 Wavio Sequence

题目:Wavio is a sequence of integers. It has some interesting properties. Wavio is of odd length i.e. L = 2  n + 1. The  rst (n + 1) integers of Wavio sequence makes a strictly increasing sequ

2016-05-07 13:40:49 414

原创 hdu 1677 Nested Dolls 子串

题目:A - Nested DollsTime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionDilworth is the world’s most prominent collector of Russian nested doll

2016-05-07 11:08:54 483

原创 nyoj 323 BUYING FEED 贪心

题目:BUYING FEED时间限制:3000 ms  |  内存限制:65535 KB难度:4描述Farmer John needs to travel to town to pick up K (1 D*K cents.The county feed lot has N (1 John as much as F_i (1 Amazingly, a given poi

2016-05-07 10:19:55 462

原创 nyoj 153 BOBSLEDDING

题目:BOBSLEDDING时间限制:1000 ms  |  内存限制:65535 KB难度:3描述Dr.Kong has entered a bobsled competition because he hopes his hefty weight will give his an advantage over the L meter course (2 Naturall

2016-05-06 19:50:13 531

原创 nyoj 89 挑战密室

题目:挑战密室时间限制:1000 ms  |  内存限制:65535 KB难度:4描述R组织的特工Dr. Kong 为了寻找丢失的超体元素,不幸陷入WTO密室。Dr. Kong必须尽快找到解锁密码逃离,否则几分钟之后,WTO密室即将爆炸。 Dr. Kong发现密室的墙上写了许多化学方程式中。化学方程式,也称为化学反应方程式,是用化学式表示物质化学反应的式子。化学方程式反

2016-05-06 19:08:56 449

原创 nyoj 542 试 制 品

题目:试 制 品时间限制:1000 ms  |  内存限制:65535 KB难度:4描述ZZ大学的Dr.Kong最近发现实验室的很多试制品都已经用完。由于项目经费有限,为了节省,Dr.Kong决定利用实验室现有的试制品来生成所缺的试制品。为此,Dr.Kong连续几天通宵达旦整理出一份研究资料并让研究生Bill去实验并统计能产生多少种所缺的试制品。Bill从头到尾翻完所有的资

2016-05-06 17:15:25 725

原创 nyoj 543 遥控器 第五届河南省程序设计大赛

题目:遥 控 器时间限制:1000 ms  |  内存限制:65535 KB难度:3描述Dr.Kong有一台高级电视机,这台电视机可以接受100个频道(从0到99编号)。电视的配套遥控器有13个按钮:1   2   3   ↑4   5   6   ↓7   8   9—  0当按"↑"键时,当前频道编号会增加1(如果当前为99频道,则会切换到0频道)。如果

2016-05-05 20:43:46 469

原创 残缺的棋盘 数学

题目:题目 I. 残缺的棋盘  在国际象棋里,王是最重要的一个棋子。每一步,王可以往上下左右或者对角线方向移动一 步,如下图所示。    给定两个格子 A(r1,c1), B(r2,c2),你的任务是计算出一个王从 A到 B至少需要走多少步。为了 避免题目太简单,我们从棋盘里拿掉了一个格子 C(r3,c3)(ABC保证互不相同),要求王从 A 走到 B的过程中不能进入格子 C。在本

2016-04-30 18:40:34 448

原创 Double Shortest Paths 网络流

题目:Problem D. Double Shortest Paths  Alice and Bob are walking in an ancient maze with a lot of caves and one-way passages connecting them. They want to go from cave 1 to cave n. All the passages 

2016-04-30 17:58:57 295

原创 uva 11008 Antimatter Ray Clearcutting 记忆化搜索

题目:It's year 2465, and you are the Chief Engineer for Glori ed Lumberjacks Inc. on planet Trie. There is a number of trees that you need to cut down, and the only weapon you have is a high-powered

2016-04-29 19:55:02 321

原创 uva 10603 Fill 搜索

题目:There are three jugs with a volume of a, b and c liters. (a, b, and c are positive integers not greater than 200). The rst and the second jug are initially empty, while the third is completely 

2016-04-27 20:00:37 420

原创 uva 10626 Buying Coke dfs

题目:F - Buying CokeTime Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %lluSubmit Status Practice UVA 10626Appoint description: Description I often buy Coca-Cola from the 

2016-04-27 10:21:37 629

原创 uva 11081 String 尺取法

题目:N - StringTime Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThere is a string S.S only contain lower case English character.(10 \leq leng

2016-04-26 21:14:30 265

原创 zoj3939 The Lucky Week 模拟

题目:The Lucky WeekTime Limit: 2000MS Memory Limit: 65536KB 64bit IO Format: %lld & %lluSubmit StatusDescriptionEdward, the headmaster of the Marjar Uni

2016-04-26 20:17:17 692 2

空空如也

空空如也

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

TA关注的人

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