SlideShare a Scribd company logo
1 of 12
Download to read offline
Google Code Jam Japan 2011
       に挑戦してみた




     2011/12/03 @ 中国 GTUG
自己紹介

     須増 亮 ( すます りょう )
主な活動:デスマ
 ・瀬戸デ部          @ryosms
 ・中国 GTUG
 などなど岡山を中心に     http://gplus.to/ryosms
 中国地方他の勉強会に参加
 (別名:荒らし)
                http://fb.com/ryosms
今日話すこと

・プログラミングコンテストについて
  どんなコンテストがあるのか


・ Google Code Jam Japan 挑戦してみた
   GCJJ の概要
  競技の流れ
  挑戦の結果
プログラミングコンテストとは
名前見りゃわかるだろ JK

有名なプログラミングコンテスト
・ TopCoder
   http://www.topcoder.com/

・ Google Code Jam
   http://code.google.com/codejam/

一応プログラミングコンテスト?
・ DevQuiz
※Google I/O も DevQuiz 的なことやるらしいですね
Google Code Jam Japan とは
日本向け Google Code Jam
  http://code.google.com/codejam/japan/

「技術的なチャレンジは好きですか?
 難問に立ち向かうことってわくわくしませんか?」
                ( GCJJ ページより)
本来は 3/19 に開催予定
 →例の震災の影響で延期
 → 10/1 予選、 10/8 決勝

使用する言語に縛り無し
(ただし、環境をフリーで用意できるものに限る)
参考: TopCoder は Java, C++, C#, Visual Basic のみ
Google Code Jam Japan とは
・各ラウンドは 3 〜 6 問の問題
 ( GCJJ2011 は予選・決勝の 2 ラウンド)

・各問題には Small 問題と Large 問題
  Small 問題は制限時間 4 分(再挑戦可能)
  Large 問題は 8 分(時間内に限り再挑戦可能)

・テストケースの入ったファイルをダウンロードし、
 ローカルで実行した結果をソースコード付きで提出

・各問題の得点と回答した時間で順位が付く
  Small 問題を間違える度にペナルティタイム
 (ただし、最終的に正解した問題のみ加算)

http://code.google.com/codejam/japan/rules.html
競技の流れ
 ・参加登録( 2 月中旬登録開始)
  予選終了前なら登録可能

 ・(練習問題)

 ・予選( 10/1 13:00 〜 19:00 )
   6 時間で 3 問の問題
       予選で 1 問以上の問題について
       Small 、 Large の両方を解いた人のみ
 ・決勝( 10/8 13:00 〜 16:00 )
   3 時間で 5 問の問題

http://code.google.com/codejam/japan/schedule.html
戦略
・使用言語: Java ( Eclipse )




    ※ そんなものはありません

・あらかじめ、プロジェクトを作成しておく

・先に問題を全部読んで、解けそうなものから解く
・サンプルの入力・結果で確認
結果(予選)
    A 問題: Small   1:49:43 で正解(誤答 2 回)
         Large  時間切れ
    B 問題: Small   2:37:34 で正解(誤答 2 回)
         Large  時間切れ
    C 問題: Small   45:38 で正解(誤答 0 回)
         Large   4:14:10 で正解

    順位: 373 位 28 点 ペナルティタイム 4:30:10
      (各問題共に Small5 点、 Large13 点)

      祝  決 勝 進 出
http://blog.livedoor.jp/ryosms/archives/5020994.html
結果(決勝)
           手も足も出ませんでした まる




       以上!!

http://blog.livedoor.jp/ryosms/archives/5071250.html
感想
 ・ Code Jam 面白いよ、 Code Jam

 ・トップの連中頭おかしいだろ(いい意味で)

 ・ DevQuiz 、 Code Jam と来て ...


                 結論

プログラミングコンテストやろうぜ!
      ※ ただしヘイン、お前はダメだ
ご清聴ありがとうございました


 で、時間まだある?

More Related Content

Featured

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

Google Code Jam Japan 2011に挑戦してみた

  • 1. Google Code Jam Japan 2011 に挑戦してみた 2011/12/03 @ 中国 GTUG
  • 2. 自己紹介 須増 亮 ( すます りょう ) 主な活動:デスマ ・瀬戸デ部 @ryosms ・中国 GTUG などなど岡山を中心に http://gplus.to/ryosms 中国地方他の勉強会に参加 (別名:荒らし) http://fb.com/ryosms
  • 3. 今日話すこと ・プログラミングコンテストについて   どんなコンテストがあるのか ・ Google Code Jam Japan 挑戦してみた    GCJJ の概要   競技の流れ   挑戦の結果
  • 4. プログラミングコンテストとは 名前見りゃわかるだろ JK 有名なプログラミングコンテスト ・ TopCoder    http://www.topcoder.com/ ・ Google Code Jam    http://code.google.com/codejam/ 一応プログラミングコンテスト? ・ DevQuiz ※Google I/O も DevQuiz 的なことやるらしいですね
  • 5. Google Code Jam Japan とは 日本向け Google Code Jam   http://code.google.com/codejam/japan/ 「技術的なチャレンジは好きですか?  難問に立ち向かうことってわくわくしませんか?」 ( GCJJ ページより) 本来は 3/19 に開催予定  →例の震災の影響で延期  → 10/1 予選、 10/8 決勝 使用する言語に縛り無し (ただし、環境をフリーで用意できるものに限る) 参考: TopCoder は Java, C++, C#, Visual Basic のみ
  • 6. Google Code Jam Japan とは ・各ラウンドは 3 〜 6 問の問題  ( GCJJ2011 は予選・決勝の 2 ラウンド) ・各問題には Small 問題と Large 問題   Small 問題は制限時間 4 分(再挑戦可能)   Large 問題は 8 分(時間内に限り再挑戦可能) ・テストケースの入ったファイルをダウンロードし、  ローカルで実行した結果をソースコード付きで提出 ・各問題の得点と回答した時間で順位が付く   Small 問題を間違える度にペナルティタイム  (ただし、最終的に正解した問題のみ加算) http://code.google.com/codejam/japan/rules.html
  • 7. 競技の流れ ・参加登録( 2 月中旬登録開始)  予選終了前なら登録可能 ・(練習問題) ・予選( 10/1 13:00 〜 19:00 )   6 時間で 3 問の問題 予選で 1 問以上の問題について Small 、 Large の両方を解いた人のみ ・決勝( 10/8 13:00 〜 16:00 )   3 時間で 5 問の問題 http://code.google.com/codejam/japan/schedule.html
  • 8. 戦略 ・使用言語: Java ( Eclipse ) ※ そんなものはありません ・あらかじめ、プロジェクトを作成しておく ・先に問題を全部読んで、解けそうなものから解く ・サンプルの入力・結果で確認
  • 9. 結果(予選) A 問題: Small   1:49:43 で正解(誤答 2 回)      Large  時間切れ B 問題: Small   2:37:34 で正解(誤答 2 回)      Large  時間切れ C 問題: Small   45:38 で正解(誤答 0 回)      Large   4:14:10 で正解 順位: 373 位 28 点 ペナルティタイム 4:30:10 (各問題共に Small5 点、 Large13 点) 祝  決 勝 進 出 http://blog.livedoor.jp/ryosms/archives/5020994.html
  • 10. 結果(決勝) 手も足も出ませんでした まる 以上!! http://blog.livedoor.jp/ryosms/archives/5071250.html
  • 11. 感想 ・ Code Jam 面白いよ、 Code Jam ・トップの連中頭おかしいだろ(いい意味で) ・ DevQuiz 、 Code Jam と来て ... 結論 プログラミングコンテストやろうぜ! ※ ただしヘイン、お前はダメだ