- 博客(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
560
原创 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
637
原创 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
559
原创 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
759
原创 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
510
原创 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
734
原创 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
472
原创 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
422
原创 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
483
原创 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
885
原创 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
382
原创 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
383
原创 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
382
原创 poj1088滑雪
DescriptionMichael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道载一个区域中最长底滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。下面是一个例子 1 2 3 4 516 17 18 19 615 24 25 20 714 2
2015-07-14 14:14:42
299
原创 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
365
原创 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
349
原创 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
320
原创 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
425
原创 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
412
原创 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
557
原创 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
365
原创 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
458
原创 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
352
原创 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
347
原创 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
374
原创 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
492
原创 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
521
原创 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
351
原创 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
335
原创 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
471
原创 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
361
原创 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
414
原创 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
383
原创 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
367
原创 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
383
原创 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
364
原创 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
642
原创 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
418
原创 第六届蓝桥杯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
2736
原创 历届试题 核桃的数量
问题描述小张是软件项目经理,他带领3个开发组。工期紧,今天都在加班呢。为鼓舞士气,小张打算给每个组发一袋核桃(据传言能补脑)。他的要求是:1. 各组的核桃数量必须相同2. 各组内必须能平分核桃(当然是不能打碎的)3. 尽量提供满足1,2条件的最小数量(节约闹革命嘛)输入格式输入包含三个正整数a, b, c,表示每个组正在加班的人数,用空格分开
2015-04-13 19:20:58
334
H+ 后台主题UI框架 V4.1
2016-09-01
DB2 误删表怎么恢复。。。
2016-12-27
TA创建的收藏夹 TA关注的收藏夹
TA关注的人