海岛Blog

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

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

UVA10196 Check The Check【模拟+回溯】

Your task is to write a program that reads a chess board configuration and answers if there’s a king under attack (i.e. “in check”). A king is in che...

2018-04-28 00:02:09

阅读数:62

评论数:0

POJ2236 Wireless Network【并查集】

Wireless NetworkTime Limit: 10000MS Memory Limit: 65536KTotal Submissions: 35269 Accepted: 14596DescriptionAn earthquake takes place in Southeast Asi...

2018-04-25 23:02:57

阅读数:113

评论数:2

POJ1988 Cube Stacking【并查集】

Cube StackingTime Limit: 2000MS Memory Limit: 30000KTotal Submissions: 27031 Accepted: 9478Case Time Limit: 1000MSDescriptionFarmer John and Betsy ar...

2018-04-25 22:04:42

阅读数:34

评论数:0

POJ1703 Find them, Catch them【并查集】

Find them, Catch themTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 50328 Accepted: 15453DescriptionThe police office in Tadu City decides...

2018-04-25 20:22:15

阅读数:40

评论数:0

HDU3117 Fibonacci Numbers【Fibonacci数列】

Fibonacci NumbersTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2897    Accepted Submission(...

2018-04-25 11:48:51

阅读数:30

评论数:0

UVA10579 Fibonacci Numbers【大数】

A Fibonacci sequence is calculated by adding the previous two members of the sequence, with the first two members being both 1.f(1) = 1, f(2) = 1, f(...

2018-04-25 11:11:01

阅读数:58

评论数:0

UVALive6222 Unhappy Numbers【数学】(RE)

Numbers have feelings too! For any positive integer, take the sum of the squares of each of its digits, and add them together. Take the result, and d...

2018-04-25 09:07:31

阅读数:124

评论数:0

UVALive8091 Happy Number【数学】

Consider the following function f defined for any natural number n:f(n) is the number obtained by summing up the squares of the digits of n in decima...

2018-04-25 06:48:43

阅读数:34

评论数:0

UVA10591 Happy Number【数学】

Let the sum of the square of the digits of a positive integer S0 be represented by S1. In a similar way, let the sum of the squares of the digits of ...

2018-04-25 06:32:23

阅读数:31

评论数:0

UVA623 500!【百万进制/10^15进制】

In these days you can more and more often happen to see programs which perform some useful calculations being executed rather then trivial screen sav...

2018-04-23 08:33:56

阅读数:132

评论数:0

HDU1198 ZOJ2412 Farm Irrigation【并查集】

Farm IrrigationTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11022    Accepted Submission(s...

2018-04-21 20:50:38

阅读数:76

评论数:0

POJ2492 HDU1829 A Bug's Life【并查集】

A Bug's LifeTime Limit: 10000MS Memory Limit: 65536KTotal Submissions: 41537 Accepted: 13504DescriptionBackground Professor Hopper is researching the...

2018-04-21 02:17:33

阅读数:37

评论数:0

UVA793 UVALive5289 Network Connections【并查集】

Bob, who is a network administrator, supervises a network of computers. He is keeping a log connections between the computers in the network. Each co...

2018-04-20 08:48:40

阅读数:35

评论数:0

UVA10608 Friends【并查集】

There is a town with N citizens. It is known that some pairs of people are friends. According to the famous saying that “The friends of my friends ar...

2018-04-20 00:23:48

阅读数:48

评论数:0

POJ2524 UVA10583 Ubiquitous Religions【并查集】

Ubiquitous ReligionsTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 38946 Accepted: 18569DescriptionThere are so many different religions i...

2018-04-19 18:53:48

阅读数:37

评论数:0

UVA10158 War【并查集】

A war is being lead between two countries, A and B. As a loyal citizen of C, you decide to help your countrys espionage by attending the peace-talks ...

2018-04-19 18:23:37

阅读数:35

评论数:0

POJ3614 Sunscreen【贪心】

SunscreenTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 10348 Accepted: 3618DescriptionTo avoid unsightly burns while tanning, each of the...

2018-04-18 23:04:20

阅读数:68

评论数:0

欢迎使用CSDN-markdown编辑器【转载】

欢迎使用Markdown编辑器写博客 本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦: Markdown和扩展Markdown简洁的语法 代码块高亮 图片链接和图片上传 LaTex数学公式 UML序列图和流程图 离线写博客 导入导出Markdown文...

2018-04-17 13:34:51

阅读数:39

评论数:0

POJ1565 ZOJ1712 UVA575 UVALive5320 Skew Binary【进制】

Skew BinaryTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 11253 Accepted: 7165DescriptionWhen a number is expressed in decimal, the kth di...

2018-04-08 23:28:02

阅读数:77

评论数:0

UVA495 Fibonacci Freeze【大数+万进制】

The Fibonacci numbers (0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, ...) are defined by the recurrence:      F0 = 0      F1 = 1      Fi = Fi−1 + Fi−2 for all...

2018-04-08 22:12:05

阅读数:105

评论数:0

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