海岛Blog

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

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

阅读数:25

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

阅读数:30

评论数:0

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

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

2018-07-14 10:05:40

阅读数:129

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

阅读数:45

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

阅读数:88

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

阅读数:63

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

阅读数:137

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

阅读数:48

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

阅读数:52

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

阅读数:46

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

阅读数:73

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

阅读数:65

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

阅读数:75

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

阅读数:88

评论数:0

UVA10110 Light, more light【数学】

There is man named ”mabu” for switching on-off light in our University. He switches on-off the lightsin a corridor. Every bulb has its own toggle swi...

2018-02-23 18:41:55

阅读数:88

评论数:0

UVA10089 Repackaging【数学+凸包】

Coffee cups of three different sizes (identified as size 1, size 2 and size 3 cups) are produced in factories under ACM (Association of Cup Makers) a...

2018-02-23 17:51:55

阅读数:103

评论数:0

UVA12004 Bubble Sort【数学】

Check the following code which counts the number of swaps of bubble sort.int findSwaps( int n, int a[] ){    int count = 0, i, j, temp, b[100000];   ...

2018-02-22 02:17:29

阅读数:124

评论数:0

UVA12578 10:6:2【数学】

The national flag of Bangladesh is bottle green in color and rectangular in size with the length (L) to width ratio of 10:6. It bears a red circle on...

2018-02-18 07:48:33

阅读数:154

评论数:0

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

阅读数:247

评论数:0

UVA913 Joana and the Odd Numbers【数学】

Joana loves playing with odd numbers. In the other day, she started writing, in each line, an odd number of odd numbers. It looked as follows:13 5 79...

2018-02-17 18:58:23

阅读数:131

评论数:0

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