title:
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.
What is the smallest positive number that is
evenly divisible by all of the nu...
分类:
其他好文 时间:
2014-06-07 01:27:37
阅读次数:
229
title:
Largest palindrome product
Problem 4
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91
99.
Find the l...
分类:
其他好文 时间:
2014-06-07 01:24:27
阅读次数:
398
title:
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.
What is the 10 001st prime number?
翻译:
通过列出前6个质数,我们可知第6个质数是13。
那么第10001个质数是...
分类:
其他好文 时间:
2014-06-05 12:28:28
阅读次数:
277
AndroidManifest.xml配置文件对于Android应用开发来说是非常重要的基础知识,本文旨在总结该配置文件中重点的用法,以便日后查阅。下面是一个标准的AndroidManifest.xml文件样例。
[html] view
plaincopy
xml version="1.0" encoding="utf-8"?...
分类:
移动开发 时间:
2014-06-05 10:46:40
阅读次数:
281
var txt = "Browser CodeName: " + navigator.appCodeName + "";
txt+= "Browser Name: " + navigator.appName + "";
txt+= "Browser Version: " + navigator.appVersion + "";
txt+= "Cookies Enabl...
分类:
Web程序 时间:
2014-06-05 10:09:31
阅读次数:
270
ACM 数论 Big Number hdu1018 斯特林公式...
分类:
其他好文 时间:
2014-06-05 08:41:41
阅读次数:
149
直接上代码:
/*
二叉树的链表实现:
以及三种遍历方式:
author:天下无双
Date:2014-5-28
Version:2.0
*/
#include
#include
typedef int T;//树内节点的数据类型
using namespace std;
class BiTree
{
private:
struct BiNode{
T data;
BiN...
分类:
其他好文 时间:
2014-06-05 06:30:49
阅读次数:
273
链接:http://poj.org/problem?id=3259
Description
While exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it is a one-way path t...
分类:
其他好文 时间:
2014-06-05 05:26:33
阅读次数:
240
【题目】
Given a non-negative number represented as an array of digits, plus one to the number.
The digits are stored such that the most significant digit is at the head of the list.
【题意】
给定一个非负整数,这个表示为一个数字数组。计算这个整数加1后的值。
【思路】
从低位到高位依次相加,注意处理进...
分类:
其他好文 时间:
2014-06-05 01:24:44
阅读次数:
250
一、整体代码
#include
using namespace std;
class CCTest {
public:
void setNumber( int );
void printNumber() const ;
private:
int number;
};
void CCTest::setNumber( int num ) { number = num; }
...
分类:
编程语言 时间:
2014-06-04 23:17:34
阅读次数:
415