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,468 views
2013 TCO Marathon Round 2 (yowa)
Art & Photos
◦
Read more
0
Save
Share
Embed
Embed presentation
Download
Download to read offline
1
/ 21
2
/ 21
3
/ 21
4
/ 21
5
/ 21
6
/ 21
7
/ 21
8
/ 21
9
/ 21
10
/ 21
11
/ 21
12
/ 21
13
/ 21
14
/ 21
15
/ 21
16
/ 21
17
/ 21
18
/ 21
19
/ 21
20
/ 21
21
/ 21
More Related Content
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
by
Search Engine Journal
PDF
2014 TCO Marathon Round 1 (yowa)
by
yowaken
ODP
TopCoder Marathon Match 74 (yowa)
by
yowaken
PDF
2013 TCO Marathon Round 3 (yowa)
by
yowaken
PDF
2014 TCO Marathon Round 3 (yowa)
by
yowaken
PDF
TopCoder Marathon Match 92: Lighting (yowa)
by
yowaken
PDF
TopCoder Marathon Match ConstraindPermutation 解の変更方法の一案
by
yowaken
PDF
AtCoder 北大日立マラソン 2nd 参加メモ (yowa)
by
yowaken
2024 Trend Updates: What Really Works In SEO & Content Marketing
by
Search Engine Journal
2014 TCO Marathon Round 1 (yowa)
by
yowaken
TopCoder Marathon Match 74 (yowa)
by
yowaken
2013 TCO Marathon Round 3 (yowa)
by
yowaken
2014 TCO Marathon Round 3 (yowa)
by
yowaken
TopCoder Marathon Match 92: Lighting (yowa)
by
yowaken
TopCoder Marathon Match ConstraindPermutation 解の変更方法の一案
by
yowaken
AtCoder 北大日立マラソン 2nd 参加メモ (yowa)
by
yowaken
Featured
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
by
OECD Directorate for Financial and Enterprise Affairs
PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
by
Chiara Aliotta
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
by
SocialHRCamp
PDF
PEPSICO Presentation to CAGNY Conference Feb 2024
by
Neil Kimberley
PDF
Product Design Trends in 2024 | Teenage Engineerings
by
Pixeldarts
PDF
Skeleton Culture Code
by
Skeleton Technologies
PDF
How to have difficult conversations
by
Rajiv Jayarajah, MAppComm, ACC
PDF
Everything You Need To Know About ChatGPT
by
Expeed Software
PDF
5 Public speaking tips from TED - Visualized summary
by
SpeakerHub
PDF
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
by
marketingartwork
PDF
2024 State of Marketing Report – by Hubspot
by
Marius Sescu
PDF
Getting into the tech field. what next
by
Tessa Mero
PDF
Introduction to Data Science
by
Christy Abraham Joy
PDF
Trends In Paid Search: Navigating The Digital Landscape In 2024
by
Search Engine Journal
PDF
How Race, Age and Gender Shape Attitudes Towards Mental Health
by
ThinkNow
PDF
Google's Just Not That Into You: Understanding Core Updates & Search Intent
by
Lily Ray
PDF
Content Methodology: A Best Practices Report (Webinar)
by
contently
PDF
ChatGPT and the Future of Work - Clark Boyd
by
Clark Boyd
PDF
Social Media Marketing Trends 2024 // The Global Indie Insights
by
Kurio // The Social Media Age(ncy)
PPTX
How to Prepare For a Successful Job Search for 2024
by
Albert Qian
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
by
OECD Directorate for Financial and Enterprise Affairs
Storytelling For The Web: Integrate Storytelling in your Design Process
by
Chiara Aliotta
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
by
SocialHRCamp
PEPSICO Presentation to CAGNY Conference Feb 2024
by
Neil Kimberley
Product Design Trends in 2024 | Teenage Engineerings
by
Pixeldarts
Skeleton Culture Code
by
Skeleton Technologies
How to have difficult conversations
by
Rajiv Jayarajah, MAppComm, ACC
Everything You Need To Know About ChatGPT
by
Expeed Software
5 Public speaking tips from TED - Visualized summary
by
SpeakerHub
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
by
marketingartwork
2024 State of Marketing Report – by Hubspot
by
Marius Sescu
Getting into the tech field. what next
by
Tessa Mero
Introduction to Data Science
by
Christy Abraham Joy
Trends In Paid Search: Navigating The Digital Landscape In 2024
by
Search Engine Journal
How Race, Age and Gender Shape Attitudes Towards Mental Health
by
ThinkNow
Google's Just Not That Into You: Understanding Core Updates & Search Intent
by
Lily Ray
Content Methodology: A Best Practices Report (Webinar)
by
contently
ChatGPT and the Future of Work - Clark Boyd
by
Clark Boyd
Social Media Marketing Trends 2024 // The Global Indie Insights
by
Kurio // The Social Media Age(ncy)
How to Prepare For a Successful Job Search for 2024
by
Albert Qian
2013 TCO Marathon Round 2 (yowa)
1.
2013 TCO Marathon
Round 2 FragileMirrors - 鏡をぶっこわせ - 参加メモ yowa (@yowa)
2.
どんな問題? ● N×Nのマス目に、ナナメ向きの鏡がみっしり N = 4
の例 (本当は N=50~100)
3.
どんな問題? ● 光線を当てる→反射した直後に鏡が壊れる ←これが こうなる→ (6枚破壊)
4.
どんな問題? ● できるだけ少ない手数で、全ての鏡を壊そう! この図は 2手でいける
5.
やったこと ビームサーチ
6.
やったこと ビームサーチ 光線だけに、レーザービームってね!
7.
ご清聴、ありがとうございました
8.
もうちょい詳しく ● 幅優先探索 – ただし全ての解候補ではなく 良さそうな方から
k 個だけ保存。 ● 「良さそう」って? ● k っていくつ?
9.
評価関数 ● 残りの鏡の数が少ない方が良さそう ● 鏡の数が同じでも、まとまってたほうが良さそう 4手
2手 1手
10.
評価関数 ● 残りの枚数と、 ● 「壊してしまって空になった列」の数を元に、 てきとーに決めた
11.
k: ビーム幅(解の保持数) ● サイズNのとき、だいたい
N 手くらいの解がある ● 一つの局面で有効な手は O(N) 手 ● 1手のシミュレーションに、最悪O(N)くらいかかる ● 解を求めるのに O(k N^3) くらいかかりそう → k を O(1/N^3) とかにしとけば、 だいたい決まった時間でおわりそうだぜ (実際は O(1/N^2.5) くらいにした)
12.
枝刈りとか ● 1手で4枚以下しか壊れなかった – 出口側から入射でも同じ結果になるのでスキップ ● 枚数少ないからシミュレーション重くないしあんま意味ない かもだ ●
局面の同一判定とか – Zobrist Hash をつかった ● 各マスにランダムなhash値を割り当てる ● (局面のhash値) = (壊したマスのhash値を全部 xor )
13.
所感 ● 幅優先だから、時間調節が難しかった ● 高速化はわかんない vector<int>
じゃなく vector<char> にするとか 優先度順に並べるのに partial_sort() するとか そんくらい(しか知識がない)
14.
小ネタ
15.
時間vsスコアでプロットしてたら…
18.
Nが偶数(上)/Nが奇数(下)、でした
19.
奇数/偶数でわかれる理由 ● 特に考察とかは無いです – 2つに分かれるのに気づいたの 最終提出の2時間前とかだし –
問題自体がそういうものなのか、 オレのアルゴリズムがそうなってるのか、 それすらわかんない
20.
まとめ ● ビームサーチした
21.
ご清聴、ありがとうございました
Download