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
【2018/05/08 Otemachi.rb#6】Rubyで取り組むProject Eular
Search
Shu OGAWARA
May 08, 2018
Technology
0
360
【2018/05/08 Otemachi.rb#6】Rubyで取り組むProject Eular
2018/05/08 Otemachi.rb#6でのLTです
Shu OGAWARA
May 08, 2018
Tweet
Share
More Decks by Shu OGAWARA
See All by Shu OGAWARA
あなたの知らないDateのひみつ / The Secret of "Date" You Haven't known #tqrk16
expajp
0
140
入門 FormObject / An Introduction to FormObject #kaigionrails
expajp
2
5.7k
あなたの「仮説検証」、ゆがんでいませんか? / Isn't Your "Hypothesis Verification" Distorted? #emoasis
expajp
2
450
Rubyはなぜ「たのしい」のか? / Why is Ruby a programmers' best friend? #tqrk15
expajp
5
2.1k
エンジニアリングマネージャーはどう学んでいくのか #devsumi / How Do Engineering Managers Continue to Learn and Grow?
expajp
9
5.6k
RubyKaigi参加歴をふりかえる / Looking Back on My RubyKaigi Participation History #kaigieffectLT
expajp
3
560
わたしのメタ学習 / My Own Meta Learning #shinjukurb
expajp
0
500
ActiveSupport::Concernで開くメタプログラミングの扉 #heiseirubykaigi / The door of meta-programing is opened by ActiveSupport::Concern
expajp
1
2.4k
実践Railsアプリケーション設計 #meetup_rails / Practical Rails Application Design
expajp
4
40k
Other Decks in Technology
See All in Technology
Exadata Fleet Update
oracle4engineer
PRO
0
1.1k
Bedrock PolicyでAmazon Bedrock Guardrails利用を強制してみた
yuu551
0
260
ランサムウェア対策としてのpnpm導入のススメ
ishikawa_satoru
0
220
Oracle AI Database移行・アップグレード勉強会 - RAT活用編
oracle4engineer
PRO
0
110
マネージャー視点で考えるプロダクトエンジニアの評価 / Evaluating Product Engineers from a Manager's Perspective
hiro_torii
0
190
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
210
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
【Ubie】AIを活用した広告アセット「爆速」生成事例 | AI_Ops_Community_Vol.2
yoshiki_0316
1
120
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
2.1k
(技術的には)社内システムもOKなブラウザエージェントを作ってみた!
har1101
0
250
Greatest Disaster Hits in Web Performance
guaca
0
290
[CV勉強会@関東 World Model 読み会] Orbis: Overcoming Challenges of Long-Horizon Prediction in Driving World Models (Mousakhan+, NeurIPS 2025)
abemii
0
150
Featured
See All Featured
KATA
mclloyd
PRO
34
15k
Paper Plane (Part 1)
katiecoart
PRO
0
4.3k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
650
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
180
Being A Developer After 40
akosma
91
590k
Mind Mapping
helmedeiros
PRO
0
90
Making Projects Easy
brettharned
120
6.6k
Transcript
2018/05/08 Otemachi.rb#6 RubyProject Eular Shu OGAWARA (@expajp)
+-$ n ( '(@expajp) – 3 – Ruby/Rails*1 –
&% – #)!" – .%,
Project Eular
Project Eular https://projecteuler.net/
Project EularRuby n 1978/- 6: – 78/2,6+1.8000+ n %' –
('$8;< – 45#/% &#&'7 – Write Code Everyday " – )*&! 6 03
n Project Eular n
– Ruby
n Project EularRuby,$' "#!& – 30/.0 - –
1 n (+Project Eular)* %1),
n
n –
String#each_char • 1 – Enumerable#inject •
n 100% ( #
– Enumerable#combination(n) • &) n' ( " – Prime.instance.prime? (prime$) • ( !
n Problem 4 !" $% & #!
. 2'" ! , 9009 = 91 99 . , 3'" !# .
n Project Eular *)$ /F+"- n Ruby,-(!3. – Enumerable&'*:
– ,-(! ; ? 48 – RubyA5=2796 • E<% DC n Rails #BG@0>1