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
SRM 555 Div 1 easy, Div 2 medium
Search
snuke
September 07, 2012
Programming
1
470
SRM 555 Div 1 easy, Div 2 medium
オンサイト解説で使ったスライド。
時間がなくてネタが仕込めなかったorz
snuke
September 07, 2012
Tweet
Share
More Decks by snuke
See All by snuke
puzzleLT.pdf
snuke
0
730
JOI2015-2016 春合宿 day 2 Sandwich 解説
snuke
0
320
JOI2015-sp-day4-walls-anothersolution
snuke
0
250
JOI2014 春合宿 day 2 スタンプラリー 解説
snuke
0
220
NPCA合宿きょーぷろ講義
snuke
0
360
JOI 2013 春合宿 day4-1 messenger 解説
snuke
0
380
CodeForces#162 Div1-E
snuke
0
350
CodeForces162 Div1-E
snuke
3
16k
SRM 555 Div 1 hard
snuke
1
570
Other Decks in Programming
See All in Programming
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
710
AI Assistants for Your Angular Solutions
manfredsteyer
PRO
0
160
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
1.6k
ロボットのための工場に灯りは要らない
watany
12
3.2k
Claude Codeログ基盤の構築
giginet
PRO
7
3.7k
[PHPerKaigi 2026]PHPerKaigi2025の企画CodeGolfが最高すぎて社内で内製して半年運営して得た内製と運営の知見
ikezoemakoto
0
290
ネイティブアプリとWebフロントエンドのAPI通信ラッパーにおける共通化の勘所
suguruooki
0
200
へんな働き方
yusukebe
6
2.8k
Symfony + NelmioApiDocBundle を使った スキーマ駆動開発 / Schema Driven Development with NelmioApiDocBundle
okashoi
0
240
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
2
420
仕様漏れ実装漏れをなくすトレーサビリティAI基盤のご紹介
orgachem
PRO
7
3.2k
PHP 7.4でもOpenTelemetryゼロコード計装がしたい! / PHPerKaigi 2026
arthur1
1
420
Featured
See All Featured
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
120
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
HDC tutorial
michielstock
1
590
The Curse of the Amulet
leimatthew05
1
11k
WCS-LA-2024
lcolladotor
0
500
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
160
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
390
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
230
Thoughts on Productivity
jonyablonski
75
5.1k
Transcript
%JWNFEJVN %JWFBTZ XSJUFSTOVLF
֓ཁ ͞/ͷϏοτྻ͕༩͑ΒΕΔͷͰɺ ̑ͷႈ ʹΓ͚Δ࣌ʹඞཁͳ அճͷ࠷খΛٻΊΑɻ ෆՄೳͳΒ ʙ੍ʙ
㱡/㱡 ྫ lzɹˠɹɹɺlzɹˠɹ lzɹˠɹɹɺlzɹˠɹɹɺlzɹˠɹ
ղ๏ ɾಈతܭը๏ %1 ɹɹ͋Δܻ·ͰΛ̑ͷႈʹׂ͢ΔͨΊʹඞཁͳஅճ Input : 1 0 1 1
1 1 1 1 0 1 DP : 1 0 1 2 3 4 5 6 0 2 ࣮ϝϞԽͳ͠ͷ࠶ؼͰେৎɻ
ܸέʔεͳͲ ɾܻͱ͔ͩͱJOUʹऩ·Βͳ͍ɻ ɾ(SFFEZղ๏ཱ͠ͳ͍ ɹʮ࡞Ε͏Δ࠷େͷ̑ͷႈΛऔ͍ͬͯ͘ʯ ɹˠɹͰܸɻ
౷ܭEJW ఏग़ɹɿ ਖ਼ղऀɿ