- 博客(10)
- 资源 (1)
- 收藏
- 关注
原创 Problem 9 : Special Pythagorean triplet
Problem 9Special Pythagorean tripletA Pythagorean triplet is a set of three natural numbers, a < b < c, for which,a2 + b2 = c2For example, 32 + 42 = 9 + 16 = 25 = 52.There exists exactly one Pyt...
2018-04-25 16:52:56 232
原创 Problem 8 : Largest product in a series
Problem 8Largest product in a seriesThe four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832.7316717653133062491922511967442657474235534919493496983520...
2018-04-24 21:56:55 301
原创 Problem 7 : 10001st prime
Problem 710001st primeBy 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?第10001个素数列出前6个素数,它们分别是2、3、5、7、11和13。我们可以看出,第...
2018-04-23 16:09:02 308
原创 Problem 6 : Sum square difference
Problem 6Sum square differenceThe sum of the squares of the first ten natural numbers is,12 + 22 + … + 102 = 385The square of the sum of the first ten natural numbers is,(1 + 2 + … + 10)2 = 552 = 3025...
2018-04-22 08:57:23 696
原创 Problem 5 : Smallest multiple
Problem 5Smallest multiple2520 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...
2018-04-19 16:27:52 251
原创 Problem 4 : Largest palindrome product
Problem 4Largest palindrome productA 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 largest palindrome made...
2018-04-18 18:03:23 233
原创 Problem 3 : Largest prime factor
Problem 3Largest prime factorThe prime factors of 13195 are 5, 7, 13 and 29.What is the largest prime factor of the number 600851475143 ?最大质因数13195的所有质因数为5、7、13和29。600851475143最大的质因数是多少?题目解答 朴素解法:暴...
2018-04-17 21:50:43 226
原创 Problem 2 : Even Fibonacci numbers
Problem 2Even Fibonacci numbersEach new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:1, 2, 3, 5, 8, 13, 21, 34, 55...
2018-04-16 16:45:50 222
原创 Problem 1 : Multiples of 3 and 5
Problem 1Multiples of 3 and 5If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.Find the sum of all the multiples of 3 or ...
2018-04-16 16:22:35 349 1
原创 POJ1273 Drainage Ditches 【网络流 最大流/最小割 EK/Dimic 】
rainage DitchesTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 82312 Accepted: 31968DescriptionEvery time it rains on Farmer John's fields, a pond forms over Bessie's favorite clover patch. ...
2018-04-06 20:25:30 216
公交查询系统的数据库设计
2018-01-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人