The points P (x1, y1) and Q (x2, y2) are plotted at integer co-ordinates and are joined to the origin,
O(0,0), to form ΔOPQ.
There are exactly fourteen triangles containing a right angle that...
分类:
其他好文 时间:
2015-07-26 00:35:30
阅读次数:
384
Pandigital products
Problem 32
We shall say that an n-digit number is pandigital if it makes use of all the digits 1 to n exactly once; for example, the 5-digit number, 15234, is 1 through 5 pandigit...
分类:
其他好文 时间:
2015-07-25 22:59:43
阅读次数:
141
The smallest number expressible as the sum of a prime square, prime cube, and prime fourth power is 28. In fact, there are exactly four numbers below fifty that can be expressed
in such a way:
28...
分类:
其他好文 时间:
2015-07-23 21:50:50
阅读次数:
210
Soldier and Cards
Description
Two bored soldiers are playing card war. Their card deck consists of exactly
n cards, numbered from 1 to
n, all values are different. They divide cards between th...
分类:
其他好文 时间:
2015-07-20 16:41:19
阅读次数:
116
在自定义View和ViewGroup的时候,我们经常会遇到int型的MeasureSpec来表示一个组件的大小,这个变量里面不仅有组件的尺寸大小,还有大小的模式。这个大小的模式,有点难以理解。在系统中组件的大小模式有三种:1.精确模式(MeasureSpec.EXACTLY)在这种模式下,尺寸的值是...
分类:
其他好文 时间:
2015-07-20 15:53:23
阅读次数:
122
Let p(n) represent the number of different ways in which n coins can be separated into piles. For example, five coins can be separated into piles in exactly seven
different ways, so p(5)=7.
...
分类:
其他好文 时间:
2015-07-19 16:35:22
阅读次数:
181
It is possible to write five as a sum in exactly six different ways:
4 + 1
3 + 2
3 + 1 + 1
2 + 2 + 1
2 + 1 + 1 + 1
1 + 1 + 1 + 1 + 1
How many different ways can one hundred be written as a su...
分类:
其他好文 时间:
2015-07-18 18:41:52
阅读次数:
94
It is possible to write ten as the sum of primes in exactly five different ways:
7 + 3
5 + 5
5 + 3 + 2
3 + 3 + 2 + 2
2 + 2 + 2 + 2 + 2
What is the first value which can be written as the sum o...
分类:
其他好文 时间:
2015-07-18 18:40:05
阅读次数:
118
The cube, 41063625 (3453), can be permuted to produce two other cubes: 56623104 (3843) and 66430125 (4053). In fact, 41063625 is the smallest cube
which has exactly three permutations of its digits ...
分类:
其他好文 时间:
2015-07-14 18:21:53
阅读次数:
113
题目:It can be seen that the number, 125874, and its double, 251748, contains exactly the same digits, but in a different order. Find the smallest positive integer, x, such that 2x, 3x, 4x, 5x, and 6x, ...
分类:
编程语言 时间:
2015-07-09 13:20:06
阅读次数:
158