`
xiaoxie
  • 浏览: 32982 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
不知不觉,欧拉项目就零零碎碎的做了15道题了,觉得真是非常的花时间,但是依然还是乐此不彼。下面奉上欧拉项目第二题代码     Each 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, 89, ... Find the sum of all the    even-valued ...
最近在学spring技术,可是又迷恋上了欧拉项目,下面送上欧拉项目的一道小菜开开胃   If 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 5 below 1000.     翻译过来就是:找到1000以内所有能被3或者5整除的自然数,求他们的和。   public class Project ...
Global site tag (gtag.js) - Google Analytics