海岛Blog

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

POJ2339 ZOJ1921 UVA10443 Rock, Scissors, Paper【Ad Hoc】

Rock, Scissors, PaperTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 4301 Accepted: 2490DescriptionBart's sister Lisa has created a new civ...

2018-05-30 10:32:08

阅读数:41

评论数:0

SPOJ-TEST Life, the Universe, and Everything【Ad Hoc】

Your program is to use the brute-force approach in order to find the Answer to Life, the Universe, and Everything. More precisely... rewrite small nu...

2018-05-30 08:00:33

阅读数:44

评论数:0

UVA10515 Powers Et Al.【数学+Ad Hoc】

计算n^m 的最后一位Finding the exponent of any number can be very troublesome as it grows exponentially. But in this problem you will have to do a very simpl...

2018-05-30 07:46:47

阅读数:53

评论数:0

POJ2361 ZOJ1908 UVA10363 Tic Tac Toe【Ad Hoc】

Tic Tac ToeTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 2385 Accepted: 903DescriptionTic Tac Toe is a child's game played on a 3 by 3 gr...

2018-05-29 08:52:05

阅读数:45

评论数:0

UVA10921 Find the Telephone【编码】

In some places is common to remember a phone number associating its digits to letters. In this way the expression “MY LOVE” means 69 5683. Of course ...

2018-05-25 05:13:03

阅读数:49

评论数:0

UVA10862 Connect the Cable Wires【大数+递推】

Asif is a student of East West University and he is currently working for the EWUISP to meet his relatively high tuition fees. One day, as a part of ...

2018-05-06 15:04:12

阅读数:62

评论数:0

POJ2509 UVA10346 Peter's Smokes【模拟】

Peter's smokesTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 18097 Accepted: 7441DescriptionPeter has n cigarettes. He smokes them one by ...

2018-05-05 04:10:27

阅读数:80

评论数:0

POJ2943 UVALive3524 The Cow Doctor【bitset+枚举】

The Cow DoctorTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 1601 Accepted: 528DescriptionTexas is the state having the largest number of ...

2018-05-04 21:41:09

阅读数:44

评论数:0

UVA10800 Not That Kind of Graph【模拟+绘图】

“You know, it’s all very sweet, stealing from therich, selling to the poor...”Jose Molina, "Firefly."  Your task is to graph the pr...

2018-05-04 15:44:21

阅读数:39

评论数:0

UVA10922 2 the 9s【大数模除+进制】

A well-known trick to know if an integer N is a multiple of nine is to compute the sum S of its digits. If S is a multiple of nine, then so is N. Thi...

2018-05-03 08:48:37

阅读数:42

评论数:0

UVA10929 You can say 11【大数模除】

Your job is, given a positive number N, determine if it is a multiple of eleven.InputThe input is a file such that each line contains a positive numb...

2018-05-03 08:23:15

阅读数:45

评论数:0

UVA10931 Parity【进制】

We define the parity of an integer n as the sum of the bits in binary representation computed modulo two. As an example, the number 21 = 101012 has t...

2018-05-03 07:57:49

阅读数:40

评论数:0

POJ2234 Matches Game【Nim博弈】

Matches GameTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 11069 Accepted: 6469DescriptionHere is a simple game. In this game, there are s...

2018-05-03 00:27:07

阅读数:41

评论数:0

POJ2661 HDU1141 ZOJ2545 UVA10916 Factstone Benchmark【Ad Hoc】

Factstone BenchmarkTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 4769 Accepted: 2263DescriptionAmtel has announced that it will release a...

2018-05-02 10:20:34

阅读数:37

评论数: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

阅读数:62

评论数: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

阅读数:31

评论数:0

POJ2940 HDU1489 UVA11054 Wine Trading in Gergovia【Ad Hoc】

Wine Trading in GergoviaTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 3541 Accepted: 1600DescriptionAs you may know from the comic “Aster...

2018-04-04 23:55:30

阅读数:66

评论数:1

UVA10323 Factorial! You Must be Kidding!!!【Ad Hoc】

Arif has bought a super computer from Bongobazar. Bongobazar is a place in Dhaka where second hand goods are found in plenty. So the super computer b...

2018-03-25 06:29:09

阅读数:51

评论数:1

UVA944 Happy Numbers【数学】

Let the sum of the squares 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-02-17 23:11:02

阅读数:213

评论数:0

POJ1320 UVA138 Street Numbers【Pell方程+数学】

Street NumbersTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 3055 Accepted: 1712DescriptionA computer programmer lives in a street with ho...

2018-02-16 21:57:44

阅读数:122

评论数:0

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