自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

5年Java后端研发,分享个人读书学习笔记。

欢迎关注,一起好好学习,天天向上。

  • 博客(76)
  • 资源 (3)
  • 问答 (1)
  • 收藏
  • 关注

原创 LA4253 - Archery

Korea's reputation in archery is well known because the Korean archery teams have been sweeping almost all gold, silver, and bronze medals in the Olympic Games.An archery game ICPC supported by NE

2015-07-22 10:22:31 525

原创 Uva11389 - The Bus Driver Problem

I I U C   O N L I N E   C O N T E S T   2 0 0 8Problem E: The Bus Driver ProblemInput: standard inputOutput: standard output In a city there are n bus drive

2015-07-21 16:51:28 588

原创 LA3266 - Tian Ji -- The Horse Racing

Here is a famous story in Chinese history. That was about 2300 years ago. General Tian Ji was a high official in the country Qi. He likes to play horse racing with the king and others.Both o

2015-07-21 16:07:26 514

原创 LA4850 - Installations

In the morning, service engineers in a telecom company receive a list of jobs which they must serve today. They install telephones, internet, ipTVs, etc and repair troubles with established facilities

2015-07-21 15:01:14 682

原创 LA4794 - Sharing Chocolate

Chocolate in its many forms is enjoyed by millions of people around the world every day. It is a truly universal candy available in virtually every country around the world.You find that the only th

2015-07-16 20:27:24 475

原创 hdu1254推箱子

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

2015-07-16 19:22:45 691

原创 hdu1180诡异的楼梯

诡异的楼梯Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 10678    Accepted Submission(s): 2662Problem DescriptionHogwarts正式开学以后,Harry发现

2015-07-16 19:21:05 443

原创 LA3983 - Robotruck

Problem C - RobotruckBackgroundThis problem is about a robotic truck that distributes mail packages to several locations in a factory. The robot sits at the end of a conveyer at the mail office

2015-07-16 19:17:22 381

原创 Uva10859 - Placing Lampposts

As a part of the mission `Beauti cation of Dhaka City', the government has decided to replace all theold lampposts with new expensive ones. Since the new ones are quite expensive and the budget is n

2015-07-15 21:05:23 424

原创 Uva11825 - Hackers' Crackdown

Miracle Corporations has a number of system services running in a distributed computer system whichis a prime target for hackers. The system is basically a set of N computer nodes with each of them

2015-07-15 19:28:06 832

原创 poj1157LITTLE SHOP OF FLOWERS

DescriptionYou want to arrange the window of your flower shop in a most pleasant way. You have F bunches of flowers, each being of a different kind, and at least as many vases ordered in a row. Th

2015-07-14 19:36:29 351

原创 poj1143Number Game

DescriptionChristine and Matt are playing an exciting game they just invented: the Number Game. The rules of this game are as follows. The players take turns choosing integers greater than 1. Fi

2015-07-14 18:33:45 347

原创 Poj1125Stockbroker Grapevine

DescriptionStockbrokers are known to overreact to rumours. You have been contracted to develop a method of spreading disinformation amongst the stockbrokers to give your employer the tactical edge

2015-07-14 14:51:39 341

原创 poj1088滑雪

DescriptionMichael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道载一个区域中最长底滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。下面是一个例子  1 2 3 4 516 17 18 19 615 24 25 20 714 2

2015-07-14 14:14:42 271

原创 poj1083Moving Tables

DescriptionThe famous ACM (Advanced Computer Maker) Company has rented a floor of a building whose shape is in the following figure. The floor has 200 rooms each on the north side and south

2015-07-14 10:59:20 323

原创 poj1050To the Max

DescriptionGiven a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within the whole array. The sum of a rectangl

2015-07-14 09:02:33 317

原创 POJ1018Communication System

DescriptionWe have received an order from Pizoor Communications Inc. for a special communication system. The system consists of several devices. For each device, we are free to choose from several

2015-07-13 17:17:46 286

原创 10755 - Garbage Heap

题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=19&page=show_problem&problem=1696#include #include #include using namespace std;#define FOR(i, n) for(int i=1;

2015-07-11 16:44:32 386

原创 2965 - Jurassic Remains

Paleontologists in Siberia have recently found a number of fragments of Jurassic period dinosaur skeleton. The paleontologists have decided to forward them to the paleontology museum. Unfortunately, t

2015-07-11 16:42:18 376

原创 LA3695 - Distant Galaxy

Input There are multiple test cases in the input file. Each test case starts with one integer N , (1N100) , the number of star systems on the telescope. N lines follow, each line consists of two i

2015-07-10 21:13:56 516

原创 3029 - City Game

Bob is a strategy game programming specialist. In his new city building game the gaming environment is as follows: a city is built up by areas, in which there are streets, trees, factories and buildin

2015-07-10 17:26:06 331

原创 2678 - Subsequence

A sequence of N positive integers (10  N , each of them less than or equal 10000, and a positive integer S (S < 100 000 000) are given. Write a program to find the minimal length of the subsequence

2015-07-10 15:53:36 405

原创 LA11549 - Calculator Conundrum

Alice got a hold of an old calculator that can display n digits. She was bored enough to come up withthe following time waster.She enters a number k then repeatedly squares it until the result ove

2015-07-10 13:46:11 319

原创 LA3902 - Network

Consider a tree network with n nodes where the internal nodes correspond to servers and the terminal nodes correspond to clients. The nodes are numbered from 1 to n . Among the servers, there is an

2015-07-10 10:17:06 314

原创 Uva10795 - A Different Task

The (Three peg) Tower of Hanoi problem is a popular one in computer science. Briey the problem isto transfer all the disks from peg-A to peg-C using peg-B as intermediate one in such a way that at

2015-07-09 21:38:55 340

原创 LA3971 - Assemble

Recently your team noticed that the computer you use to practice for programming contests is notgood enough anymore. Therefore, you decide to buy a new computer.To make the ideal computer for your

2015-07-09 21:36:46 459

原创 LA3635 - Pie

My birthday is coming up and traditionally I'mserving pie. Not just one pie, no, I have a numberN of them, of various tastes and of various sizes. Fof my friends are coming to my party and each

2015-07-09 21:33:42 481

原创 Uva11520 - Fill the Square

In this problem, you have to draw a square using uppercase English Alphabets.To be more precise, you will be given a square grid with some empty blocks and others already lledfor you with some let

2015-07-09 21:31:53 321

原创 Uva 11210 - Chinese Mahjong

InputThe input consists of at most 50 test cases. Each case consists of 13 tiles in a single line. The hand is legal (e.g. no invalid tiles, exactly 13 tiles). The last case is followed by a single

2015-07-09 17:57:12 310

原创 LA 3401 - Colored Cubes

color1 color2 color3 color4 color5 color6corresponds to a cube colored as shown in Figure 6.The end of the input is indicated by a line containing a single zero. It is not a dataset nor a part

2015-07-09 15:06:10 431

原创 Uva11464 - Even Parity

We have a grid of size N  N. Each cell of the grid initially contains a zero(0) or a one(1). The parityof a cell is the number of 1s surrounding that cell. A cell is surrounded by at most 4 cells (t

2015-07-09 10:18:56 328

原创 Uva 10881 - Piotr's Ants

"One thing is for certain: there is no stopping them;the ants will soon be here. And I, for one, welcome ournew insect overlords."Kent BrockmanPiotr likes playing with ants. He has n

2015-07-09 10:15:14 350

原创 LA 3708 - Graveyard

Programming contests became so popular in the year 2397 that the governor of New Earck -- the largest human-inhabited planet of the galaxy -- opened a special Alley of Contestant Memories (ACM) at the

2015-07-09 10:12:16 351

原创 Uva11300 - Spreading the Wealth

F. Spreading the Wealth ProblemA Communist regime is trying to redistribute wealth in a village. They have have decided to sit everyone around a circular table. First, everyone has con

2015-07-09 10:09:39 334

原创 LA 2995 & ZOJ2714 Image is Everything

Image is EverythingTime Limit: 2 Seconds Memory Limit: 65536 KB Your new company is building a robot that can hold small lightweight objects. The robot will have the intelligence to determin

2015-07-09 08:33:18 352

原创 POJ3126Prime_Path

Prime PathTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 13020 Accepted: 7364DescriptionThe ministers of the cabinet were quite upset by the message

2015-05-12 22:12:21 335

原创 AOJ0009Prime Number

Prime NumberWrite a program which reads an integer n and prints the number of prime numbers which are less than or equal to n. A prime number is a natural number which has exactly two distinct

2015-05-12 20:38:53 600

原创 POJ1930Dead Fraction

Dead FractionTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 2097 Accepted: 669DescriptionMike is frantically scrambling to finish his thesis at the l

2015-05-12 20:14:50 384

原创 第六届蓝桥杯2015-省赛-C语言大学B组 个人题解

题目连接:http://course.baidu.com/view/2d86a6c1960590c69fc37622.html1,奖券数目52488#include using namespace std;bool isOK(int a){ while(a) { if(a%10==4) return false; a /= 10; } return true;}i

2015-04-13 19:22:14 2584

原创 历届试题 核桃的数量

问题描述小张是软件项目经理,他带领3个开发组。工期紧,今天都在加班呢。为鼓舞士气,小张打算给每个组发一袋核桃(据传言能补脑)。他的要求是:1. 各组的核桃数量必须相同2. 各组内必须能平分核桃(当然是不能打碎的)3. 尽量提供满足1,2条件的最小数量(节约闹革命嘛)输入格式输入包含三个正整数a, b, c,表示每个组正在加班的人数,用空格分开

2015-04-13 19:20:58 305

H+ 后台主题UI框架 V4.1

H+具有以下特点: 完全响应式布局(支持电脑、平板、手机等所有主流设备) 基于最新版本的Bootstrap 3.3.6 提供3套不同风格的皮肤 支持多种布局方式 使用最流行的的扁平化设计 提供了诸多的UI组件 集成多款国内优秀插件,诚意奉献 提供盒型、全宽、响应式视图模式 采用HTML5 & CSS3 拥有良好的代码结构

2016-09-01

dp状态压缩资料

状态压缩的相关资料 适合刚刚接触dp状态压塑的菜鸟们看

2014-08-08

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

TA关注的人

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