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
EN
Uploaded by
metasequo
PPTX, PDF
416 views
第14回日本情報オリンピック問題解説
第14回日本情報オリンピック問題解説。 問題1、問題2、問題3のみ。
Technology
◦
Read more
1
Save
Share
Embed
Embed presentation
Download
Download to read offline
1
/ 8
2
/ 8
3
/ 8
4
/ 8
5
/ 8
6
/ 8
7
/ 8
8
/ 8
More Related Content
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
Storytelling For The Web: Integrate Storytelling in your Design Process
by
Chiara Aliotta
PDF
2024 State of Marketing Report – by Hubspot
by
Marius Sescu
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
by
Search Engine Journal
PDF
Everything You Need To Know About ChatGPT
by
Expeed Software
PDF
0528 kanntigai ui_ux
by
Saori Matsui
PDF
女子の心をつかむUIデザインポイント - MERY編 -
by
Shoko Tanaka
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
Storytelling For The Web: Integrate Storytelling in your Design Process
by
Chiara Aliotta
2024 State of Marketing Report – by Hubspot
by
Marius Sescu
2024 Trend Updates: What Really Works In SEO & Content Marketing
by
Search Engine Journal
Everything You Need To Know About ChatGPT
by
Expeed Software
0528 kanntigai ui_ux
by
Saori Matsui
女子の心をつかむUIデザインポイント - MERY編 -
by
Shoko Tanaka
Featured
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
PDF
Introduction to Data Science
by
Christy Abraham Joy
PDF
Time Management & Productivity - Best Practices
by
Vit Horky
PDF
The six step guide to practical project management
by
MindGenius
PDF
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
by
RachelPearson36
PDF
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
by
Applitools
PDF
12 Ways to Increase Your Influence at Work
by
GetSmarter
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
Introduction to Data Science
by
Christy Abraham Joy
Time Management & Productivity - Best Practices
by
Vit Horky
The six step guide to practical project management
by
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
by
RachelPearson36
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
by
Applitools
12 Ways to Increase Your Influence at Work
by
GetSmarter
第14回日本情報オリンピック問題解説
1.
5年 はまこー 第14回日本情報オリンピック 問題解説
2.
問題1 水道料金 (Water
Rate) • 水道料金の安い会社を選んだら何円? • X社:1リットルあたりA円 • Y社:基本料金B円 + 上限Cリットル超過分 * 追加料金C円 • 入力 • X社(A : 料金/L) • Y社(B : 基本料金、C : 使用量上限、D : 追加料金/L) • P : JOI家の使用量 • 出力 • X社とY社で、安いほうを出力
3.
問題1 水道料金 (Water
Rate) • 必要なもの:標準入出力、四則演算、条件分岐 • 変数:A, B, C, D, P, X, Y; • 入力:scanf(“%d %d %d %d %d”, &A, &B, &C, &D, &P); • X社とY社の水道料金をそれぞれ求める。 • X = A * P; • Y = B; • if(P > C) Y = Y + (P - C) * D; • X社とY社で安いほうを出力する。 • if(X < Y) printf(“%dn”, X); • else printf(“%dn”, Y);
4.
問題2 クリスマスパーティー (Christmas
Party) • 友達は何点獲得した? • JOI君は友達をN人呼んでとあるゲームをMラウンドした。 • JOI君がターゲットを1人えらぶ。 • 友達はターゲットになった人を予想してかく。 • ターゲットを発表し、当たってたら+1点。 • ターゲットは、はずした人数 X点を加算。 • 入力 • 友達の人数N, ゲーム回数M • iラウンド目のターゲットの人の番号 • iラウンド目の予想番号 • 出力 • それぞれの友達のスコアを出力
5.
問題2 クリスマスパーティー (Christmas
Party) • 必要なもの:ループ制御、配列 • 変数:N, M, A, 予想ターゲット T[100],プレイヤーのスコア S[100] • 入力 • scanf(“%d %d”, &N, &M); • for(M回) scanf(“%d”, &T[i]); • 入力しながらスコア計算 • 予想ターゲットを入力 • 合ってたら S[プレイヤー番号]++, S[ターゲット番号 - 1]++; • 結果を出力
6.
問題3 気象予報士 (Weather
Forecaster) • 何分後に雲がくる? • JOI市:南北 H km, 東西 W km • 現在の雲の状況 • c ・・・ 雲がある • .(ピリオド) ・・・ 雲がない • 雲は1km/分で東に移動 • 最終的にどうなるかを出力。 • くる場合:何分後かを出力 • こない場合:-1を出力 • 行頭や行末に余計な空白を出力しないこと
7.
問題3 気象予報士 (Weather
Forecaster) • 必要なもの:文字列制御 • 変数:H, W, Field, 雲フラグCFlag, 入力文字列F[101] • 入力 • JOI市の大きさ scanf(“%d %d”, &H, &W); • 状況を入力して計算 • 各行の雲の状況 scanf(“%s”, F); • 一字ごとに調べる • cだったら Field を0にし、雲フラグ値(現在地 + 1)をセット • .だったら雲フラグを調べ、雲フラグがなければ -1、 雲フラグがあれば、現在地 – 雲フラグ値 + 1をFieldにセット • 結果を出力
8.
JOIを終えて • どうでしたか? • 1年生は来年も頑張りましょう。 •
今年より1問多く解くことを目標に頑張ってください。 • ソフト開発などに活かしていきましょう。 • もっと勉強したい人は、毎週AtCoderに参加してみましょう。 • 解説放送も見ると◎
Download