Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Project Eulerではじめる実装とアルゴリズム構築のトレーニング

Project Eulerではじめる実装とアルゴリズム構築のトレーニング

2018/05/23(水)にサポーターズColab.で発表したスライドです

Shu OGAWARA

May 23, 2018
Tweet

More Decks by Shu OGAWARA

Other Decks in Technology

Transcript

  1. 13* n .$ -(@expajp) –  &' • 3!2! –

    Ruby/Rails01 –     ,+ – )/#"%( – 4+2
  2. Project Euler Project Euler*.$-3 /7?9<@8:>6 =;-), "45!&1,.+3  -2 -

    *#40%.  -4/), 5!"*) 0%, !- .7?9<@8*:>6=; - )%. “ AProject Euler,'( http://odz.sakura.ne.jp/projecteuler/index.php?Project%20Euler%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6
  3. Project Euler  n -&$%(1 3& – %(, %(& n

    600%' #%!7+ – ;)* 16 49" n 2058 5% – 100% 5%: 49" – 20%  0 .6 OK 25% •   30%2  /
  4. Project Euler  n " # +$ n '% (*"

    # ) n #  !, →  &#-
  5.  $%?18.MOQN?#,?=1;-) + > 6EA?.>"B?2>*(6 E$;-&>C7:! $=$G56.# ;@-'- <=DH;$?3%?18< 94DF

    :/E. “ R$(3?0)<@ - JKLPI https://kotobank.jp/word/%E6%8A%80%E8%83%BD-178742
  6.   n   "  n ! 

     n    
  7.  "# n   &  n % 

     n $  ! → Project Euler 
  8.  "!)$ n 70+; "!)$ – 5A# $*-  &(%'

    – B@4 >2 FD/15 <C 5A n *- 3:.8  30 – ?,E= 95A  – /15A # $6@ 
  9. Demo:   Problem 1 35  10  ,

    3 #! 5 '# ! 3, 5, 6, 9 4&, (%  ! 23 '. $, 1000  3  5 '   ) "$. “ *Problem 1 - PukiWiki http://odz.sakura.ne.jp/projecteuler/index.php?cmd=read&page=Problem%201
  10.     B9 n 24/, +!(9  

     @A – , +!(;724etc. 5< n >31:9       – 68)"#%*'*+  n = ?. &-$0  
  11. Write Code Everyday n John Resig 0@ 4+ – )*t-wada

    1;  n =)"6 Github!%  – %($'& >. – <98?  2 – :"5  – "673/,#"'-
  12.   n Project Euler51 – ->34:98, –  ;->(".=

    n 1*1$!" 20? – <*1/5OK – (' %&)" 6+  #(7 OK – 1
  13.   " n  !%  n ) #

    $* n ' &(
  14. Hands-on:   Problem 4     %%)#&

    ( . 2 '& ,  # ! 9009 = 91  99 &. !, 3 '& ( "$. “ * Problem 4 – PukiWiki http://odz.sakura.ne.jp/projecteuler/index.php?cmd=read&page=Problem%204
  15.  Project Euler n  #/ n %$ *( 

    n %), &-  n 0! " '+ .1 n