原创 Problem43

問題描述: The number, 1406357289, is a 0 to 9 pandigital number because it is made up of each of the digits 0 to 9 in some

原创 Problem 40

算法描述: An irrational decimal fraction is created by concatenating the positive integers: 0.1234567891011121314151617181

原创 【轉載】面向對象三要素

面向對象三要素是封裝 繼承 多態     封裝  封裝就是事物抽象爲類,把對外接口暴露,將實現和內部數據隱藏。 繼承 面向對象編程 (OOP) 語言的一個主要功能就是“繼承”。繼承是指這樣一種能力:它可以使用現有類的所有功能,並

原创 Problem 49

問題描述:   The arithmetic sequence, 1487, 4817, 8147, in which each of the terms increases by 3330, is unusual in two wa

原创 Problem 36

問題描述: The decimal number, 585 = 10010010012 (binary), is palindromic in both bases. Find the sum of all numbers, less

原创 Problem 51

問題描述:     By replacing the 1st digit of *3, it turns out that six of the nine possible values: 13, 23, 43, 53, 73, a

原创 Problem 46

問題描述: It was proposed by Christian Goldbach that every odd composite number can be written as the sum of a prime and t

原创 Problem 50

問題描述:   The prime 41, can be written as the sum of six consecutive primes: 41 = 2 + 3 + 5 + 7 + 11 + 13 This is the lo

原创 Problem 35

問題描述: The number, 197, is called a circular prime because all rotations of the digits: 197, 971, and 719, are themselv

原创 Problem 42

問題描述: The nth term of the sequence of triangle numbers is given by, tn = ½n(n+1); so the first ten triangle numbers ar

原创 Problem 34

問題描述: 145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145. Find the sum of all numbers which are equal to th

原创 JNDI全攻略

JNDI全攻略之(一) 關鍵字:JNDI,J2EE,Java,命名和目錄接口,Java Naming and Directory Interface 摘要: 本文詳細介紹了JNDI的架構與實現,JNDI的工作原理,並給出了具體代碼,幫助

原创 【轉載】VC++對象模型

前言    瞭解你所使用的編程語言究竟是如何實現的,對於C++程序員可能特別有意義。首先,它可以去除我們對於所使用語言的神祕感,使我們不至於對於編譯器乾的 活感到完全不可思議;尤其重要的是,它使我們在Debug和使用語言高級特性的時

原创 Problem 39

問題描述: If p is the perimeter of a right angle triangle with integral length sides, {a,b,c}, there are exactly three sol

原创 Problem 37

問題描述: The number 3797 has an interesting property. Being prime itself, it is possible to continuously remove digits fr