自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Alex

开心了就笑,不开心就过会再笑

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

原创 POJ3356——AGTC

AGTCTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 10218 Accepted: 3946DescriptionLet x and y be two strings over some finite alphabet A. We would like

2014-10-31 23:12:52 1056

原创 POJ3230——Travel

TravelTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 4185 Accepted: 1758DescriptionOne traveler travels among cities. He has to pay for this while he c

2014-10-31 21:39:12 914

原创 Codeforces Round #260 (Div. 2)——C. Boredom

C. Boredomtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAlex doesn't like boredom. That's why whenever he gets bore

2014-10-31 20:50:34 1361

原创 POJ3342——Party at Hali-Bula

Party at Hali-BulaTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 5418 Accepted: 1920DescriptionDear Contestant,I'm going to have a party at my vill

2014-10-31 16:45:06 1228

原创 hdu1179——Ollivanders: Makers of Fine Wands since 382 BC.

Ollivanders: Makers of Fine Wands since 382 BC.Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 964    Accepted Submission(s): 539Prob

2014-10-31 14:41:23 1305

原创 hdu1151——Air Raid

Air RaidTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3433    Accepted Submission(s): 2265Problem DescriptionConsider a town where

2014-10-30 21:26:29 675

原创 hdu1150——Machine Schedule

Machine ScheduleTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5965    Accepted Submission(s): 2999Problem DescriptionAs we all kno

2014-10-30 20:36:35 929

原创 POJ2029——Get Many Persimmon Trees

Get Many Persimmon TreesTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 3656 Accepted: 2378DescriptionSeiji Hayashi had been a professor of the Nisshinkan

2014-10-30 17:11:57 1150

原创 Codeforces Round #275 (Div. 2)B——Friends and Presents

B. Friends and Presentstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have two friends. You want to present each

2014-10-29 20:43:29 999

原创 ZOJ1455——Schedule Problem

Schedule ProblemTime Limit: 2 Seconds      Memory Limit: 65536 KB      Special Judge A project can be divided into several parts. Each part should be completed continuously. This means if a

2014-10-29 20:10:20 749

原创 POJ2983——Is the Information Reliable?

Is the Information Reliable?Time Limit: 3000MS Memory Limit: 131072KTotal Submissions: 11334 Accepted: 3575DescriptionThe galaxy war between the Empire Draco and

2014-10-29 18:53:59 735

原创 POJ3169——Layout && hdu3592——World Exhibition

这两题完全一个意思,都是差分约束的水题

2014-10-29 18:26:50 730

原创 hdu2647——Reward

RewardTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4306    Accepted Submission(s): 1318Problem DescriptionDandelion's uncle is a

2014-10-29 16:24:05 680

原创 POJ1836——Alignment

AlignmentTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 13366 Accepted: 4296DescriptionIn the army, a platoon is composed by n soldiers. During the morni

2014-10-28 20:33:35 1142

原创 POJ2137——Cowties

CowtiesTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 2870 Accepted: 961DescriptionN cows (3 <= N <= 100) are eating grass in the middle of a field. So t

2014-10-28 17:19:23 759

原创 POJ1862——Stripies

StripiesTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 12366 Accepted: 5866DescriptionOur chemical biologists have invented a new very useful form of lif

2014-10-27 21:33:48 759

原创 POJ1014——Dividing

DividingTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 60332 Accepted: 15567DescriptionMarsha and Bill own a collection of marbles. They want to split th

2014-10-27 20:32:11 754

原创 codeforces——C. Ancient Berland Circus

这道题不会,看了网上

2014-10-27 09:32:00 767

原创 codeforces——B. Spreadsheets

B. Spreadsheetstime limit per test10 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputIn the popular spreadsheets systems (for example, in

2014-10-26 21:33:30 741

原创 codeforces——1A - Theatre Square

A. Theatre Squaretime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputTheatre Square in the capital city of Berland has a

2014-10-26 20:36:42 1042

原创 学二叉堆有感

在认识二叉堆之前,先讲一下完全二叉树的定义:完全二叉树指的是

2014-10-26 16:38:11 734

原创 hdu1596——find the safest road

find the safest roadTime Limit: 10000/5000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7275    Accepted Submission(s): 2580Problem DescriptionXX星球有很多城

2014-10-26 12:57:10 687

原创 hdu5083——Instruction

InstructionTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 226    Accepted Submission(s): 57Problem DescriptionNowadays, Jim Green h

2014-10-25 22:30:42 666

原创 Codeforces Round #275 (Div. 2)A,B,C

A. Counterexample time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYour friend has recently learned about coprime numb

2014-10-25 12:48:59 1175

原创 POJ2411——Mondriaan's Dream

Mondriaan's DreamTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 12042 Accepted: 7011DescriptionSquares and rectangles fascinated the famous Dutch painter

2014-10-25 00:18:41 671

原创 POJ3254——Corn Fields

Corn FieldsTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 8186 Accepted: 4362DescriptionFarmer John has purchased a lush new rectangular pasture compos

2014-10-24 19:26:21 626

原创 POJ1185——炮兵阵地

炮兵阵地Time Limit: 2000MS Memory Limit: 65536KTotal Submissions: 19782 Accepted: 7651Description司令部的将军们打算在N*M的网格地图上部署他们的炮兵部队。一个N*M的地图由N行M列组成,地图的每一格可能是山地(用"H" 表示),也可能是平

2014-10-22 21:39:50 819

原创 hdu2167——Pebbles

PebblesTime Limit: 3000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1136    Accepted Submission(s): 661Problem DescriptionYou're given an unlimit

2014-10-22 16:49:27 982

原创 HDU1565——方格取数(1)

方格取数(1)Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5726    Accepted Submission(s): 2167Problem Description给你一个n*n的格子的棋盘,每个格子里面有

2014-10-21 18:03:25 690

原创 hdu5067——Harry And Dig Machine

Harry And Dig MachineTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 497    Accepted Submission(s): 185Problem Description  As we al

2014-10-20 20:24:45 734

原创 codeforces round 274 div2

A. Expressiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya studies in a school and he adores Maths. His class

2014-10-20 08:56:23 1229 2

原创 ACdream1236——Burning Bridges

Burning BridgesSpecial JudgeTime Limit: 10000/5000MS (Java/Others)Memory Limit: 128000/64000KB (Java/Others)SubmitStatisticNext ProblemProblem Description      Ferry Kingdom is a nice litt

2014-10-19 22:09:06 1005

原创 SGU——223. Little Kings

223. Little Kingstime limit per test: 0.5 sec.memory limit per test: 65536 KBinput: standardoutput: standardAfter solving nice problems about bishops and rooks, Petya decided that he

2014-10-19 16:12:04 1279

原创 hdu1051——Wooden Sticks

Wooden SticksTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12086    Accepted Submission(s): 5011Problem DescriptionThere is a pile

2014-10-19 13:40:41 1000

原创 hdu2196——Computer

ComputerTime Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3455    Accepted Submission(s): 1750Problem DescriptionA school bought the f

2014-10-19 10:55:47 819

原创 hdu4607——Park Visit

Park VisitTime Limit: 6000/3000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2366    Accepted Submission(s): 1051Problem DescriptionClaire and her litt

2014-10-18 12:08:05 943

原创 POJ2631——Roads in the North

Roads in the NorthTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 2192 Accepted: 1073DescriptionBuilding and maintaining roads among communities in the fa

2014-10-17 18:58:35 623

原创 hdu1176——免费馅饼

免费馅饼Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 26120    Accepted Submission(s): 8911Problem Description都说天上不会掉馅饼,但有一天gameboy正走在

2014-10-17 15:01:08 607

原创 关于01背包空间优化的理解

01背包是最最基础的背包,它的问题特征是给定n物品,

2014-10-17 13:24:30 2735 1

原创 codeforces round # 273 div2 A, B, C题题解

A. Initial Bettime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are five people playing a game called "Generosity

2014-10-17 12:36:38 1093

线段树总结

大牛总结的线段树,很经典很有用,推荐学习

2014-09-30

空空如也

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

TA关注的人

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