码迷,mamicode.com
首页 >  
搜索关键字:project-euler    ( 184个结果
Project Euler 14 solution
Question: Longest Collatz sequence Problem 14 Problem 14 The following iterative sequence is defined for the set of positive integers: n → n/2 (n is e ...
分类:其他好文   时间:2016-07-17 12:13:03    阅读次数:322
Project Euler Solution: Problem 3
Largest prime factor Problem 3 Problem 3 The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? ...
分类:其他好文   时间:2016-07-10 01:01:20    阅读次数:346
Project Euler: Solution for Problem 5
Smallest multiple Problem 5 Problem 5 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What ...
分类:其他好文   时间:2016-07-10 00:54:01    阅读次数:159
51 NOD 1024 矩阵中不重复的元素(技巧)
传送门 1024 矩阵中不重复的元素 题目来源: Project Euler 一个m*n的矩阵。该矩阵的第一列是a^b,(a+1)^b,…..(a + n - 1)^b 第二列是a^(b+1),(a+1)^(b+1),…..(a + n - 1)^(b+1) ……. 第m列是a^(b + m - 1),(a+1)^(b + m - 1),…..(a + n - 1)^(b + m - 1...
分类:其他好文   时间:2016-06-29 11:21:17    阅读次数:568
一些简单的编程练习题
转载自 http://blog.jobbole.com/53039/ 每当成为入门CS课程(学生们学习编程语言的课程)的助教时,都困于提出好的练习题。Project Euler和类似的问题通常对初学者来说来难了,尤其是对于那些没有很强数学背景的同学。 在这篇文章中,Adrian Neumann 收集 ...
分类:其他好文   时间:2016-06-11 21:21:06    阅读次数:232
project euler 19: Counting Sundays
datetime此功能很好用。省去了计算的麻烦。 ...
分类:其他好文   时间:2016-05-04 21:00:02    阅读次数:133
Project Euler:Problem 47 Distinct primes factors
The first two consecutive numbers to have two distinct prime factors are: 14 = 2 × 7 15 = 3 × 5 The first three consecutive numbers to have three dist
分类:其他好文   时间:2016-03-07 10:10:09    阅读次数:142
Project Euler 110:Diophantine reciprocals II 丢番图倒数II
Diophantine reciprocals IIIn the following equation x, y, and n are positive integers.For n = 4 there are exactly three distinct solutions:It can be v...
分类:其他好文   时间:2016-01-24 16:55:31    阅读次数:159
Project Euler 109 :Darts 飞镖
DartsIn the game of darts a player throws three darts at a target board which is split into twenty equal sized sections numbered one to twenty.The sco...
分类:其他好文   时间:2016-01-23 21:40:14    阅读次数:246
Project Euler 108:Diophantine reciprocals I 丢番图倒数I
Diophantine reciprocals IIn the following equation x, y, and n are positive integers.For n = 4 there are exactly three distinct solutions:What is the ...
分类:其他好文   时间:2016-01-22 21:59:27    阅读次数:322
184条   上一页 1 ... 6 7 8 9 10 ... 19 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!