Odd period square roots
Problem 64
All square roots are periodic when written as continued fractions and can be written in the form:
√N = a0 +
1
a1 +
1
...
分类:
编程语言 时间:
2015-02-01 16:14:25
阅读次数:
303
Digit fifth powers
Problem 30
Surprisingly there are only three numbers that can be written as the sum of fourth powers of their digits:
1634 = 14 + 64 + 34 + 44
8208 = 84 + 24 + 04 + 84
...
分类:
编程语言 时间:
2015-02-01 16:11:28
阅读次数:
209
Convergents of e
Problem 65
The square root of 2 can be written as an infinite continued fraction.
√2 = 1 +
1
2 +
1
2 +
1
2 +
1
...
分类:
编程语言 时间:
2015-01-31 16:27:32
阅读次数:
178
客户端(C):
/*
Copyright check frame
written by Radish.ghost Jan.2015
*/
#include
#include
#include
#ifdef C
#define bool int //C hesn't bool type
#endif
#pragma comment(lib, "urlmon.lib")
#ifndef USET...
分类:
Web程序 时间:
2015-01-30 16:05:11
阅读次数:
154
Where is the Marble?Raju and Meena love to play with Marbles. They have got a lot of marbles with numbers written on them. At the beginning, Raju woul...
分类:
其他好文 时间:
2015-01-29 15:49:54
阅读次数:
116
Number letter counts
Problem 17
If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + 5 + 4 + 4 = 19 letters used in total.
If all the numbers ...
分类:
编程语言 时间:
2015-01-29 14:44:35
阅读次数:
207
Number letter counts
Problem 17
If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + 5 + 4 + 4 = 19 letters used in total.
If all the numbers ...
分类:
编程语言 时间:
2015-01-29 09:27:01
阅读次数:
199
A Game Between Alice and BobTime Limit:5 Seconds Memory Limit:262144 KBAlice and Bob play the following game. A series of numbers is written on the bl...
分类:
其他好文 时间:
2015-01-28 21:06:02
阅读次数:
334
How to use GitHub with Android Studio | London App DeveloperUPDATE: This is an old tutorial written for Android Studio Beta. Since then there have bee...
分类:
移动开发 时间:
2015-01-28 19:45:50
阅读次数:
536
The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font fo...
分类:
其他好文 时间:
2015-01-28 19:41:56
阅读次数:
173