24h購物| | PChome| 登入
2014-04-18 22:56:27
2014-01-24 11:36:55

[ZJ] a746 画蛇添足、a799 正值國、a753 一、最大面積


內容 : 楚有祠者,赐其舍人巵酒。舍人相谓曰:“数人饮之不足,一人饮之有馀,请画地为蛇,先成者饮酒。”一人蛇先成,引酒且饮之,乃左手持巵,右手画蛇曰:“吾能为之足。”未成,一人之蛇成,夺...

2014-01-24 11:32:36

[UVA] 10535 - Shooter

Problem E Shooter Input: Standard Input Output: Standard Output Time Limit: 5 Seconds The shooter is in a great problem. He is trapped in a 2D maze with a laser gun and can use it on...

2014-01-24 11:14:57

[UVA][dp] 10559 - Blocks


Problem A Blocks Input: Standard Input Output: Standard Output Time Limit: 10 Seconds Some of you may have played a game called 'Blocks'. There are n blocks in a row, each box h...

2014-01-24 10:59:02

[UVA] 10504 - Hidden squares

Problem EHidden squares The typical Hidden words game can be modified to generate other problems. In particular, geometric figures can be found in them.Given n rows and columns of capital letters, a...

2014-01-24 10:55:24

[UVA] 10560 - Minmum Weight

Problem B Minimum Weight Input: Standard Input Output: Standard Output Time Limit: 2 Seconds You have to weigh all integral weights from 1 to N. You can use weights in either pan. Such...

2014-01-24 10:51:37

[UVA][greedy] 10570 - Meeting with Aliens


Problem D Meeting with Aliens Input: Standard Input Output: Standard Output Time Limit: 3 Seconds The aliens are in an important meeting just before landing on the earth. All the al...

2014-01-24 10:38:50

[UVA][樹形dp] 10859 - Placing Lampposts

Input: Standard In Output: Standard Out Next Generation Contest 1 Time Limit: 2 seconds Problem D Placing Lampposts ...

2014-01-24 10:31:23

[UVA][SSSP] 10850 - The Gossipy Gossipers Gossip Gossips

The Gossipy Gossipers Gossip Gossips "Gossipy gossiper, what did you get of so much gossiping? You set your soul into hell. Behold your great achievement!" M.A. Hevia. Mermuradora. ...

2014-01-24 10:25:39

[UVA][Legendre Symbol] 10831 - Gerg's Cake

Problem B Gerg’s Cake Input: Standard Input Output: Standard Output Gerg is having a party, and he has invited his friends. p of them have arrived already, but a are running late. To o...

2014-01-24 10:16:55

[UVA][dp] 10826 - Hot or Cold

Problem G Hot or Cold? Input: Standard Input Output: Standard Output You are playing a number-guessing game with a friend. He is thinking of an integer between 1 and N inclusive. You have...

2014-01-24 10:07:01

[UVA][搜索] 653 - Gizilch

Gizilch The game of gizilch has very simple rules. First 100 grapes are labeled, in nontoxic ink, with the numbers 1 to 100. Then, with a cry of ``GIZILCH!'', the referee fires the grapes up i...

2014-01-24 09:40:30

[UVA][dp] 672 - Gangsters


GangstersN gangsters are going to a restaurant. The i-th gangster comes at thetime Ti and has the prosperity Pi. The door of the restaurant hasK+1 states of openness expressed by the integers in the r...

2014-01-24 09:31:30

[UVA] 10461 - Difference


Problem I Difference Input: standard input Output: standard output Time Limit: 6 seconds You are given a list of jobs with associated time to complete them. Also are given a ...

2014-01-10 16:56:00

[高演][攤銷] 資料結構

Binary search of a sorted array takes logarithmic search time, but the time to insert a new element is linear in the size of the array. We can improve the time for insertion by keeping several sorted ...

2014-01-07 10:15:32

[ZOJ][FFT快速傅立葉] 1637 - Fast Image Match

Given two images A and B, use image B to cover image A. Where would we put B on A, so that the overlapping part of A and B has the most likelihood? To simplify the problem, we assume that A and B ...

第一頁      ‹上一頁       1 .  2 .  3 .  4 .  5 .  6 .  7 .  8 .  9 .  10 .      下一頁›      最末頁
第 6 / 142 頁 , 共 2116 筆       下十頁»      
TOP