Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
Submit search
EN
Uploaded by
yowaken
2,258 views
2014 TCO Marathon Round 1 (yowa)
Technology
◦
Read more
0
Save
Share
Embed
Embed presentation
Download
Download to read offline
1
/ 20
2
/ 20
3
/ 20
4
/ 20
5
/ 20
6
/ 20
7
/ 20
8
/ 20
9
/ 20
10
/ 20
11
/ 20
12
/ 20
13
/ 20
14
/ 20
15
/ 20
16
/ 20
17
/ 20
18
/ 20
19
/ 20
20
/ 20
More Related Content
PDF
Indeedなう 予選B 解説
by
AtCoder Inc.
PDF
2013 TCO Marathon Round 3 (yowa)
by
yowaken
PDF
ドルヲタを支える技術 2
by
Yoshihiro Sugi
PDF
Yahoo!プロモーション広告(スポンサードサーチ)管理画面で広告文を変更する方法
by
株式会社キーワードマーケティング
PPTX
Codevs5.0勉強会
by
Kidai Hayashi
PDF
アビームコンサルティング様_資料概要
by
FUSION COMMUNICATIONS CORPORATION
PDF
Goでヤフーの分散オブジェクトストレージを作った話 Go Conference 2017 Spring
by
Yahoo!デベロッパーネットワーク
PDF
AtCoder 北大日立マラソン 2nd 参加メモ (yowa)
by
yowaken
Indeedなう 予選B 解説
by
AtCoder Inc.
2013 TCO Marathon Round 3 (yowa)
by
yowaken
ドルヲタを支える技術 2
by
Yoshihiro Sugi
Yahoo!プロモーション広告(スポンサードサーチ)管理画面で広告文を変更する方法
by
株式会社キーワードマーケティング
Codevs5.0勉強会
by
Kidai Hayashi
アビームコンサルティング様_資料概要
by
FUSION COMMUNICATIONS CORPORATION
Goでヤフーの分散オブジェクトストレージを作った話 Go Conference 2017 Spring
by
Yahoo!デベロッパーネットワーク
AtCoder 北大日立マラソン 2nd 参加メモ (yowa)
by
yowaken
Featured
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
by
Search Engine Journal
PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
by
Chiara Aliotta
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
by
OECD Directorate for Financial and Enterprise Affairs
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
by
SocialHRCamp
PDF
2024 State of Marketing Report – by Hubspot
by
Marius Sescu
PDF
Everything You Need To Know About ChatGPT
by
Expeed Software
PDF
Product Design Trends in 2024 | Teenage Engineerings
by
Pixeldarts
PDF
How Race, Age and Gender Shape Attitudes Towards Mental Health
by
ThinkNow
PDF
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
by
marketingartwork
PDF
Skeleton Culture Code
by
Skeleton Technologies
PDF
PEPSICO Presentation to CAGNY Conference Feb 2024
by
Neil Kimberley
PDF
Content Methodology: A Best Practices Report (Webinar)
by
contently
PPTX
How to Prepare For a Successful Job Search for 2024
by
Albert Qian
PDF
Social Media Marketing Trends 2024 // The Global Indie Insights
by
Kurio // The Social Media Age(ncy)
PDF
Trends In Paid Search: Navigating The Digital Landscape In 2024
by
Search Engine Journal
PDF
5 Public speaking tips from TED - Visualized summary
by
SpeakerHub
PDF
ChatGPT and the Future of Work - Clark Boyd
by
Clark Boyd
PDF
Getting into the tech field. what next
by
Tessa Mero
PDF
Google's Just Not That Into You: Understanding Core Updates & Search Intent
by
Lily Ray
PDF
How to have difficult conversations
by
Rajiv Jayarajah, MAppComm, ACC
2024 Trend Updates: What Really Works In SEO & Content Marketing
by
Search Engine Journal
Storytelling For The Web: Integrate Storytelling in your Design Process
by
Chiara Aliotta
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
by
OECD Directorate for Financial and Enterprise Affairs
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
by
SocialHRCamp
2024 State of Marketing Report – by Hubspot
by
Marius Sescu
Everything You Need To Know About ChatGPT
by
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
by
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
by
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
by
marketingartwork
Skeleton Culture Code
by
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
by
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
by
contently
How to Prepare For a Successful Job Search for 2024
by
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
by
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
by
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
by
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
by
Clark Boyd
Getting into the tech field. what next
by
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
by
Lily Ray
How to have difficult conversations
by
Rajiv Jayarajah, MAppComm, ACC
2014 TCO Marathon Round 1 (yowa)
1.
2014 TCO Marathon
Round 12014 TCO Marathon Round 1 SquareRemoverSquareRemover - 2x2- 2x2の四角を作って消そうの四角を作って消そう -- 参加メモ参加メモ @yowa
2.
どんな問題? ● 隣接するマスを入れ替えることができる
3.
どんな問題? ● 隣接するマスを入れ替えることができる ● 2x2の四角を作ると消える (スコア+1)
4.
どんな問題? ● 隣接するマスを入れ替えることができる ● 2x2の四角を作ると消える (スコア+1) ●
消えた場所は Next(既知)で置き換えられる
5.
どんな問題? ● 隣接するマスを入れ替えることができる ● 2x2の四角を作ると消える (スコア+1) ●
消えた場所は Next(既知)で置き換えられる ● 1万ターンで多くスコアを稼ごう! – 消した数=スコア – 連鎖や同時消ししてもボーナスは無い
6.
やったこと ● ビームサーチ – 少ない手数(1手~)で消せるとこを探す –
消 してみて高得点だったものを残す
7.
少手数で消せるとこ探す? 例) ● この盤面で、4手以内で 消せるパターンを 探してみよう (例)盤面サイズ N
= 6, 色の数 C = 4 (実際は 8 N 16, 4 C 6≦ ≦ ≦ ≦ )
8.
少手数で消せるとこ探す? 例) ● この盤面で、4手以内で 消せるパターンを 探してみよう (例)盤面サイズ N
= 6, 色の数 C = 4 (実際は 8 N 16, 4 C 6≦ ≦ ≦ ≦ ) どうやればいいか わかんない!
9.
少手数で消せるとこ探す? ● 可能な手を全列挙して、消えるか確かめる? – 1手
→ O(N^2) – 2手 → O(N^4) – 3手 → O(N^6) ... キリがない! ● (見落としがあってもいいので)決まった時間で 探せるとありがたい
10.
こうやった ● 目標の場所と色を決める(図では、中央に青)
11.
こうやった ● 目標の場所と色を決める(図では、中央に青) ● 目標を中心に盤を四分割して 領域内での移動だけ考える –
各領域内の最短距離は O(N^2)の前処理DPで 求めておける
12.
こうやった ● 目標の場所と色を決める(図では、中央に青) ● 目標を中心に盤を四分割して 領域内での移動だけ考える –
各領域内の最短距離は O(N^2)の前処理DPで 求めておける ● O(N^2 C) の処理で (N-1)^2 C 個の消せるパターンを列挙できた!
13.
● 別領域から動かしたほうが近いケースを 見落とすけどね……。
14.
評価関数 ● 単純に 「(現在のスコア)÷(現在の手数)
が大きい 盤面ほど良い」で、それなりに動く ● もう一声!
15.
L字型はエラい
16.
L字型はエラい ● ヘコみの隣接マスに同色があれば 1手で消せる形!
17.
L字型はエラい ● ヘコみの隣接マスに同色があれば 1手で消せる形! ● ヘコみに合わせて他の色を 消すと、Next
次第で 連鎖が起きる!
18.
L字型はエラい ● ヘコみの隣接マスに同色があれば 1手で消せる形! ● ヘコみに合わせて他の色を 消すと、Next
次第で 連鎖が起きる! ⇒ L字型1個につき、評価値を +1/C した
19.
やらなかったこと ● Next を先読みして、それに合わせた盤面操作 ● 兄弟ノードでの情報共有 –
1回の消去では局所的にしか変化しない – 兄弟ノードは盤面の大部分が共通 – ある盤面で大連鎖できたら、その兄弟ノードでも同じ 場所で大連鎖できるかも! – ……みたいなこと
20.
おしまい ―――――――――― 製作・著作 @yowa
Download