Project Euler Problem 27 Quadratic primes

Quadratic primes Problem 27 Euler discovered the remarkable quadratic formula: n2+n+41 It turns out that the formula will produce 40 prim...

Project Euler Problem 118 Pandigital prime sets

Pandigital prime sets Problem 118 Using all of the digits 1 through 9 and concatenating them freely to form decimal integers, different sets can b...

Project Euler Problem 36 Double-base palindromes

Double-base palindromes Problem 36 The decimal number, 585 = 10010010012 (binary), is palindromic in both bases. Find the sum of all numbers, less...

Project Euler Problem 38 Pandigital multiples

Pandigital multiples Problem 38 Take the number 192 and multiply it by each of 1, 2, and 3: 192 × 1 = 192 192 × 2 = 384 192 × 3 = 576 ...

Project Euler Problem 104 Pandigital Fibonacci ends

Pandigital Fibonacci ends Problem 104 The Fibonacci sequence is defined by the recurrence relation: Fn = Fn−1 + Fn−2, where F1 = 1 and F2 = 1. I...

Project Euler Problem 32 Pandigital products

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 exampl...

Project Euler Problem 41 Pandigital prime

Pandigital prime Problem 41 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, ...

Project Euler Problem 34 Digit factorials

Digit factorials 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...

UVA10079 Pizza Cutting【水题】

When someone calls Ivan lazy, he claims that it is his intelligence that helps him to be so. If hisintelligence allows him to do something at less ph...

UVA100 POJ1207 HDU1032 The 3n + 1 problem【水题】

The 3n + 1 problem Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 59408   Accepted: 18891 Description Pro...

Project Euler Problem 23 Non-abundant sums

Non-abundant sums Problem 23 A perfect number is a number for which the sum of its proper divisors is exactly equal to the number. For exampl...

Project Euler Problem 24 Lexicographic permutations

Lexicographic permutations Problem 24 A permutation is an ordered arrangement of objects. For example, 3124 is one possible permutation of th...

Project Euler Problem 19 Counting Sundays

Counting Sundays Problem 19 You are given the following information, but you may prefer to do some research for yourself. 1 Jan 1900 was...

Project Euler Problem 17 Number letter counts

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...

Project Euler Problem 92 Square digit chains

Square digit chains Problem 92 A number chain is created by continuously adding the square of the digits in a number to form a new number until it...

Project Euler Problem 543 Prime-Sum Numbers

Prime-Sum Numbers Problem 543 Define function P(n,k) = 1 if n can be written as the sum of k prime numbers (with repetitions allowed), and P...

个人资料
等级：
访问量： 109万+
积分： 2万+
排名： 349
文章分类
博客专栏
 ACM题解 文章：597篇 阅读：406460 趣味程序 文章：40篇 阅读：34344 大学计算机读本 文章：14篇 阅读：20350 基础程序 文章：15篇 阅读：14025 CCF认证题解 文章：45篇 阅读：143921 Project Euler问题程序解 文章：39篇 阅读：16052 NOIP赛题解 文章：19篇 阅读：9545
最新评论