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
330
【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
あなたの「仮説検証」、ゆがんでいませんか? / Isn't Your "Hypothesis Verification" Distorted? #emoasis
expajp
2
340
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.9k
RubyKaigi参加歴をふりかえる / Looking Back on My RubyKaigi Participation History #kaigieffectLT
expajp
3
480
わたしのメタ学習 / My Own Meta Learning #shinjukurb
expajp
0
450
ActiveSupport::Concernで開くメタプログラミングの扉 #heiseirubykaigi / The door of meta-programing is opened by ActiveSupport::Concern
expajp
1
2.3k
実践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
Uniadex__公開版_20250617-AIxIoTビジネス共創ラボ_ツナガルチカラ_.pdf
iotcomjpadmin
0
160
Wasm元年
askua
0
130
Claude Code Actionを使ったコード品質改善の取り組み
potix2
PRO
6
2.1k
データプラットフォーム技術におけるメダリオンアーキテクチャという考え方/DataPlatformWithMedallionArchitecture
smdmts
5
620
監視のこれまでとこれから/sakura monitoring seminar 2025
fujiwara3
11
3.8k
MySQL5.6から8.4へ 戦いの記録
kyoshidaxx
1
170
PHP開発者のためのSOLID原則再入門 #phpcon / PHP Conference Japan 2025
shogogg
4
650
GitHub Copilot の概要
tomokusaba
1
130
5min GuardDuty Extended Threat Detection EKS
takakuni
0
110
登壇ネタの見つけ方 / How to find talk topics
pinkumohikan
3
350
Agentic DevOps時代の生存戦略
kkamegawa
1
1.3k
本当に使える?AutoUpgrade の新機能を実践検証してみた
oracle4engineer
PRO
1
140
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
92
6.1k
Documentation Writing (for coders)
carmenintech
71
4.9k
Agile that works and the tools we love
rasmusluckow
329
21k
Fireside Chat
paigeccino
37
3.5k
Music & Morning Musume
bryan
46
6.6k
Done Done
chrislema
184
16k
Facilitating Awesome Meetings
lara
54
6.4k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Writing Fast Ruby
sferik
628
61k
Being A Developer After 40
akosma
90
590k
Designing Experiences People Love
moore
142
24k
Raft: Consensus for Rubyists
vanstee
140
7k
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