海岛Blog

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

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

POJ2305 ZOJ1929 UVA10551 Basic remains【进制+大数模除】

Basic remains Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 5619   Accepted: 2414 Description Given a base b and two...

2018-08-17 21:35:33

阅读数:37

评论数:0

HDU1172 猜数字【暴力+进制】

猜数字Time Limit: 20000/10000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7025    Accepted Submission(s): 3829Prob...

2018-06-30 11:01:27

阅读数:55

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

阅读数:112

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

阅读数:67

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

阅读数:140

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

阅读数:51

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

阅读数:59

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

阅读数:98

评论数:0

UVA355 UVALive5249 The Bases Are Loaded【进制】

Write a program to convert a whole number specified in any base (2..16) to a whole number in any other base (2..16). “Digits” above 9 are represented...

2018-02-19 07:16:49

阅读数:232

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

阅读数:255

评论数:0

UVA343 UVALive5451 What Base Is This?【进制】

In positional notation we know the position of a digit indicates the weight of that digit toward the value of a number. For example, in the base 10 n...

2018-02-17 08:18:06

阅读数:441

评论数:0

UVA12068 UVALive3288 Harmonic Mean【分数】

The harmonic mean (HN ) of N numbers a1, a2, a3 . . . aN−1, aNis defined as below:So the harmonic mean of four numbers a, b, c, d is defined asIn thi...

2018-02-11 08:11:48

阅读数:143

评论数:0

UVA10019 Funny Encryption Method【进制】

A student from ITESM Campus Monterrey plays with a new encryption method for numbers. Thesemethod consist of the following steps:Steps : Example  1. ...

2018-02-08 07:26:22

阅读数:100

评论数:0

POJ1152 UVA10093 An Easy Problem!【进制】

An Easy Problem! Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 9273   Accepted: 2378 Description Have you heard the fact &a...

2018-02-07 08:39:38

阅读数:173

评论数:0

UVA10473 Simple Base Conversion【进制转换】

In this problem you are asked to write a simplebase conversion program. You will be givena hexadecimal or decimal integer number as input.You will ha...

2018-01-20 21:00:11

阅读数:157

评论数:0

HDU3346 Lucky Number【进制】

Lucky Number Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3583    Accepted Submission(s...

2018-01-16 22:43:01

阅读数:139

评论数:0

POJ1331 UVALive2526 Multiply【暴力+进制】

Multiply Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 5943   Accepted: 3084 Description 6*9 = 42" ...

2017-12-27 06:42:41

阅读数:344

评论数:0

UVALive3199 Specialized Four-Digit Numbers【进制】

Find and list numbers in decimal notation that have the property that the sum of its digits equals thesum of its digits when represented in hexadecim...

2017-12-04 00:10:29

阅读数:226

评论数:0

POJ2196 HDU1197 ZOJ2405 Specialized Four-Digit Numbers【进制+水题】

Specialized Four-Digit Numbers Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 8413   Accepted: 6126 Description Find and lis...

2017-12-04 00:02:25

阅读数:382

评论数:0

POJ2562 UVA10035 ZOJ1874 Primary Arithmetic【进制+进位】

Primary Arithmetic Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 11711   Accepted: 4289 Description Children are taught to ...

2017-08-30 23:17:57

阅读数:389

评论数:0

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