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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Shu OGAWARA
May 08, 2018
Technology
390
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
【2018/05/08 Otemachi.rb#6】Rubyで取り組むProject Eular
2018/05/08 Otemachi.rb#6でのLTです
Shu OGAWARA
May 08, 2018
More Decks by Shu OGAWARA
See All by Shu OGAWARA
人生を変えた一冊「独学大全」のはなし / Self-study ENCYCLOPEDIA: The Book Which Change My Life #独学大全 #EM推し本
expajp
0
200
あなたの知らないDateのひみつ / The Secret of "Date" You Haven't known #tqrk16
expajp
0
190
入門 FormObject / An Introduction to FormObject #kaigionrails
expajp
2
7.8k
あなたの「仮説検証」、ゆがんでいませんか? / Isn't Your "Hypothesis Verification" Distorted? #emoasis
expajp
2
600
Rubyはなぜ「たのしい」のか? / Why is Ruby a programmers' best friend? #tqrk15
expajp
5
2.2k
エンジニアリングマネージャーはどう学んでいくのか #devsumi / How Do Engineering Managers Continue to Learn and Grow?
expajp
9
6k
RubyKaigi参加歴をふりかえる / Looking Back on My RubyKaigi Participation History #kaigieffectLT
expajp
3
660
わたしのメタ学習 / My Own Meta Learning #shinjukurb
expajp
0
560
ActiveSupport::Concernで開くメタプログラミングの扉 #heiseirubykaigi / The door of meta-programing is opened by ActiveSupport::Concern
expajp
1
2.5k
Other Decks in Technology
See All in Technology
PfEingのアプローチで働こう
rindrics
0
170
Azure App Service / Container Apps の組み込み認証
kuniteru
0
190
Genie Code ワークショップ 基礎編 / Genie-Code-Workshop-fundamental
databricksjapan
PRO
0
340
最新技術に積極チャレンジ!EKS共通基盤のこれまでとこれから
daitak
0
300
Backstageでつくるセルフサービスな社内開発基盤
kikunosuke75
1
240
Bet AI Day 2026丨How We Bet AI: AIとともに働く場をつくる
layerx
PRO
1
2.1k
Claude Codeの体系的な理解と知識のフック
oikon48
10
6.7k
Driving AI Adoption Using In-House GPUs to Serve Qwen
po3rin
2
430
現場に行くだけでは足りない——プロダクトエンジニアが業務の流れを捉える観点と、その鍛え方
takumiengineering
0
250
IDperturb: Enhancing Variation in Synthetic Face Generation via Angular Perturbation
sansantech
PRO
0
130
作り直せるコードは迅速に 作り直せないDBは慎重に - AI時代のプロダクトエンジニアが「判断の不可逆性」で開発速度を変える話
kinosuke01
0
210
深夜のクラウド懺悔室 1:29:300 or 1:0:0
kazzpapa3
0
120
Featured
See All Featured
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
430
Statistics for Hackers
jakevdp
799
230k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
230
Building the Perfect Custom Keyboard
takai
2
860
Leo the Paperboy
mayatellez
8
2.2k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
470
Game over? The fight for quality and originality in the time of robots
wayneb77
1
260
Tell your own story through comics
letsgokoyo
1
1.1k
Thoughts on Productivity
jonyablonski
76
5.4k
WENDY [Excerpt]
tessaabrams
12
39k
How STYLIGHT went responsive
nonsquared
100
6.3k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
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