Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Project Eulerではじめる実装とアルゴリズム構築のトレーニング
Search
Shu OGAWARA
May 23, 2018
Technology
1
420
Project Eulerではじめる実装とアルゴリズム構築のトレーニング
2018/05/23(水)にサポーターズColab.で発表したスライドです
Shu OGAWARA
May 23, 2018
Tweet
Share
More Decks by Shu OGAWARA
See All by Shu OGAWARA
あなたの「仮説検証」、ゆがんでいませんか? / Isn't Your "Hypothesis Verification" Distorted? #emoasis
expajp
1
320
Rubyはなぜ「たのしい」のか? / Why is Ruby a programmers' best friend? #tqrk15
expajp
5
2k
エンジニアリングマネージャーはどう学んでいくのか #devsumi / How Do Engineering Managers Continue to Learn and Grow?
expajp
8
4.8k
RubyKaigi参加歴をふりかえる / Looking Back on My RubyKaigi Participation History #kaigieffectLT
expajp
3
470
わたしのメタ学習 / My Own Meta Learning #shinjukurb
expajp
0
440
ActiveSupport::Concernで開くメタプログラミングの扉 #heiseirubykaigi / The door of meta-programing is opened by ActiveSupport::Concern
expajp
1
2.2k
実践Railsアプリケーション設計 #meetup_rails / Practical Rails Application Design
expajp
4
39k
【2019/07/06 TamaRuby会議01】brainf*ck処理系で理解するパターンマッチングをつかった疎結合な実装
expajp
2
2.7k
その正規表現、異議あり! 〜 ReDoSについて
expajp
2
5.8k
Other Decks in Technology
See All in Technology
AIに実況させる / AI Streamer
motemen
3
1.4k
ITエンジニアを取り巻く環境とキャリアパス / A career path for Japanese IT engineers
takatama
3
1.5k
ソフトウェアは捨てやすく作ろう/Let's make software easy to discard
sanogemaru
10
5.4k
AIオンボーディングとAIプロセスマイニング
nrryuya
5
1.2k
GigaViewerにおけるMackerel APM導入の裏側
7474
0
410
TypeScript と歩む OpenAPI の discriminator / OpenAPI discriminator with TypeScript
kaminashi
1
120
令和トラベルQAのAI活用
seigaitakahiro
0
470
KMP導⼊において、マネジャーとして考えた事
sansantech
PRO
1
190
Machine Intelligence for Vision, Language, and Actions
keio_smilab
PRO
0
430
CSS polyfill とその未来
ken7253
0
130
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
8
65k
VueUseから学ぶ実践TypeScript #TSKaigi #TSKaigi2025
bengo4com
3
5.3k
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
52
2.8k
Being A Developer After 40
akosma
91
590k
How to Ace a Technical Interview
jacobian
276
23k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.2k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
15
880
Making Projects Easy
brettharned
116
6.2k
Git: the NoSQL Database
bkeepers
PRO
430
65k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.8k
Faster Mobile Websites
deanohume
307
31k
The World Runs on Bad Software
bkeepers
PRO
68
11k
Transcript
2018/05/23 Colab. Project Euler Shu
OGAWARA (@expajp)
13* n .$ -(@expajp) – &' • 3!2! –
Ruby/Rails01 – ,+ – )/#"%( – 4+2
Project Euler
Project Euler https://projecteuler.net/
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
Project Euler n -&$%(1 3& – %(, %(& n
600%' #%!7+ – ;)* 16 49" n 2058 5% – 100% 5%: 49" – 20% 0 .6 OK 25% • 30%2 /
Project Euler
Project Euler n " # +$ n '% (*"
# ) n # !, → &#-
$%?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
→
https://www.sing.co.jp/shop/g/gdkuri-kei/
n " n !
n
"# n & n %
n $ ! → Project Euler
"!)$ n 70+; "!)$ – 5A# $*- &(%'
– B@4 >2 FD/15 <C 5A n *- 3:.8 30 – ?,E= 95A – /15A # $6@
https://projecteuler.net/
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
ProgressStatistics
B9 n 24/, +!(9
@A – , +!(;724etc. 5< n >31:9 – 68)"#%*'*+ n = ?. &-$0
Write Code Everyday
Write Code Everyday n John Resig 0@ 4+ – )*t-wada
1; n =)"6 Github!% – %($'& >. – <98? 2 – :"5 – "673/,#"'-
n Project Euler51 – ->34:98, – ;->(".=
n 1*1$!" 20? – <*1/5OK – (' %&)" 6+ #(7 OK – 1
" n !% n ) #
$* n ' &(
1
Github n n clone
n
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
http://odz.sakura.ne.jp/projecteuler/
Project Euler n #/ n %$ *(
n %), &- n 0! " '+ .1 n