海岛Blog

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

POJ1663 HDU1391 ZOJ1414 UVALive2052 Number Steps【数学规律】

Number Steps Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 14299 Accepted: 7775 Description Starting from point (0,0) on a plane, we h...

2019-01-06 18:52:17

阅读数 46

评论数 0

HDU5734 Acperience【数学】

Acperience Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 2405 Accepted Submission(s):...

2019-01-03 22:30:11

阅读数 39

评论数 0

SPOJ-EIGHTS Triple Fat Ladies【数学规律】

Triple Fat Ladies Pattern Matchers have been designed for various sorts of patterns. Mr. HKP likes to observe patterns in numbers. After completing h...

2019-01-03 17:46:21

阅读数 27

评论数 0

HDU1097 A hard puzzle【快速模幂+数学规律】

A hard puzzle Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 52171 Accepted Submission...

2018-12-30 21:30:38

阅读数 31

评论数 1

UVA11300 Spreading the Wealth【思维】

A Communist regime is trying to redistribute wealth in a village. They have have decided to sit everyone around a circular table. First, everyone has...

2018-12-22 10:00:13

阅读数 50

评论数 0

POJ2140 HDU2715 Herd Sums【数学】

Herd Sums Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 18804   Accepted: 10991 Description The cows in farmer John'...

2018-08-17 21:52:42

阅读数 58

评论数 0

HDU1098 Ignatius's puzzle【数学+暴力】

Ignatius's puzzle Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 11558    Accepted Submiss...

2018-08-09 06:37:27

阅读数 57

评论数 0

POJ3100 HDU2740 ZOJ2818 UVALive3600 Root of the Problem【数学】

Root of the Problem Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 12585   Accepted: 6718 Description Given positive ...

2018-07-28 09:37:35

阅读数 56

评论数 0

HDU6182 A Math Problem【暴力+快速幂】

  A Math Problem   Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4151    Accepted Submi...

2018-07-14 10:05:40

阅读数 177

评论数 0

UVA151 Power Crisis【数学】

During the power crisis in New Zealand this winter (caused by a shortage of rain and hence low levels in the hydro dams), a contingency scheme was de...

2018-07-09 10:40:07

阅读数 106

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

阅读数 118

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

阅读数 126

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

阅读数 164

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

阅读数 91

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

阅读数 94

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

阅读数 85

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

阅读数 177

评论数 0

UVA10022 Delta-wave【找规律+数学题】

On the triangular field shown on the picture, small triangles are numbered from 1 to oo (infinity). Traveller wants to go from triangle M to triangle...

2018-03-24 16:35:39

阅读数 96

评论数 0

POJ2619 HDU1030 Delta-wave【找规律+数学题】

Delta-waveTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 1668 Accepted: 792DescriptionA triangle field is numbered with successive integer...

2018-03-24 11:29:00

阅读数 108

评论数 0

HDU1060 Leftmost Digit【取对数+数学】

Leftmost DigitTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 19168    Accepted Submission(s)...

2018-02-23 22:05:11

阅读数 121

评论数 0

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