海岛Blog

海是无垠的,岛在海中是独立的,有一片自己的天空

排序:
默认
按更新时间
按访问量

UVA10004 Bicoloring【DFS】

In 1976 the “Four Color Map Theorem” was proven with the assistance of a computer. This theorem states that every map can be colored using only four ...

2018-04-08 21:11:11

阅读数:61

评论数:0

UVA105 The Skyline Problem【水题】

With the advent of high speed graphics workstations, CAD (computer-aided design) and other areas (CAM, VLSI design) have made increasingly effective ...

2018-04-08 20:27:55

阅读数:61

评论数:0

CodeForces-1A Theatre Square【水题】

A. Theatre Squaretime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputTheatre Square in the capital c...

2018-04-08 13:47:01

阅读数:160

评论数:0

POJ2350 ZOJ1915 UVA10370 Above Average【水题】

Above AverageTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 15943 Accepted: 8285DescriptionIt is said that 90% of frosh expect to be above...

2018-04-08 09:40:20

阅读数:37

评论数:0

UVA108 Maximum Sum【最大子段和+DP】

A problem that is simple to solve in one dimension is often much more difficult to solve in more than one dimension. Consider satisfying a boolean ex...

2018-04-08 08:04:22

阅读数:58

评论数:0

UVA299 UVALive5600 Train Swapping【逆序偶+暴力】

At an old railway station, you may still encounter one of the last remaining “train swappers”. A trains wapper is an employee of the railroad, whose ...

2018-04-07 22:02:59

阅读数:40

评论数:0

POJ1477 HDU1326 UVA591 UVALive5624 ZOJ1251 Box of Bricks【水题】

Box of BricksTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 23682 Accepted: 9232DescriptionLittle Bob likes playing with his box of bricks...

2018-04-07 19:21:09

阅读数:41

评论数:0

HDU1613 UVA102 Ecological Bin Packing【水题】

Ecological Bin PackingTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 170    Accepted Submiss...

2018-04-07 18:27:37

阅读数:30

评论数:0

HDU1076 An Easy Task【日期+水题】

An Easy TaskTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 25537    Accepted Submission(s): ...

2018-04-07 17:39:07

阅读数:37

评论数:0

HDU1070 Milk【水题】

MilkTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 25696    Accepted Submission(s): 6966Prob...

2018-04-07 17:13:24

阅读数:54

评论数:0

POJ2287 HDU1052 UVA1344 UVALive3266 ZOJ2397 Tian Ji -- The Horse Racing【贪心】

Tian Ji -- The Horse RacingTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 15776 Accepted: 4864DescriptionHere is a famous story in Chinese...

2018-04-07 11:05:44

阅读数:77

评论数:0

POJ1435 ZOJ1390 UVA1607 UVALive2440 Gates【二分】

GatesTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 283 Accepted: 133 Special JudgeDescriptionIn contemporary VLSI chip industry, the soft...

2018-04-07 09:58:13

阅读数:44

评论数:0

UVA10954 Add All【Huffman编码+优先队列】

Yup!! The problem name reflects your task; just add a set of numbers. But you may feel yourselves condescended, to write a C/C++ program just to add ...

2018-04-07 07:54:28

阅读数:46

评论数:0

POJ1505 ZOJ2002 UVA714 UVALive5540 Copying Books【二分】

Copying BooksTime Limit: 3000MS Memory Limit: 10000KTotal Submissions: 9457 Accepted: 2947DescriptionBefore the invention of book-printing, it was ve...

2018-04-07 00:48:50

阅读数:69

评论数:0

UVA11526 H(n)【数学】

What is the value this simple C++ function will return?long long H(int n){    long long res = 0;    for( int i = 1; i <= n; i=i+1 ){      ...

2018-04-06 18:05:39

阅读数:26

评论数:0

POJ1730 ZOJ2124 UVA10622 Perfect Pth Powers【快速幂+暴力】

Perfect Pth PowersTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 18333 Accepted: 4222DescriptionWe say that x is a perfect square if, for ...

2018-04-06 17:29:54

阅读数:57

评论数:0

UVA11040 Add bricks in the wall【数学】

This in not “another brick in the wall”, it’s just a matter of adding numbers. Suppose you have a wall with the shape of a triangle, like the one sho...

2018-04-06 11:01:40

阅读数:31

评论数:0

UVA12504 Updating a Dictionary【map】

In this problem, a dictionary is collection of key-value pairs, where keys are lower-case letters, and values are non-negative integers. Given an old...

2018-04-06 08:06:21

阅读数:60

评论数:2

UVA11582 Colossal Fibonacci Numbers!【快速模幂+数列模除】

The i'th Fibonacci number f(i) is recursively defined in the following way:    • f(0) = 0 and f(1) = 1    • f(i + 2) = f(i + 1) + f(i) forevery i ≥ 0...

2018-04-06 00:35:47

阅读数:55

评论数:0

UVA12657 Boxes in a Line【模拟】

You have n boxes in a line on the table numbered 1 . . . n from left to right. Your task is to simulate 4 kinds of commands:    • 1 X Y : move box X ...

2018-04-05 23:44:17

阅读数:41

评论数:0

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