prithivMLmods/Coder-Stat
Coder-Stat Dataset Overview The Coder-Stat dataset is a collection of programming-related data, including problem IDs, programming languages, original statuses, and source code snippets. This dataset is designed to assist in the analysis of coding patterns, error types, and performance metrics. Dataset Details Modalities Tabular: The dataset is structured in a tabular format. Text: Contains text data, including source code snippets.… See the full description on the dataset page: https://huggingface.co/datasets/prithivMLmods/Coder-Stat.
3139
1 2 3 4<H1>気温の差</H1>5 6<p>7選手の皆さん、パソコン甲子園にようこそ。イベントに参加するには体調管理が大切です。気温が大きく変動する季節の変わり目には体に負担がかかり、風邪をひきやすいと言われています。一番気を付けなければいけない日は、最高気温と最低気温の差が最も大きい日です。1日の最高気温と最低気温が7日分与えられたとき、それぞれの日について最高気温から最低気温を引いた値を出力するプログラムを作成してください。8</p>9 10 11 12 13<h2>入力</h2>14 15<p>16入力データは以下の形式で与えられる。17</p>18 19<pre>20<var>a<sub>1</sub></var> <var>b<sub>1</sub></var>21<var>a<sub>2</sub></var> <var>b<sub>2</sub></var>22:23<var>a<sub>7</sub></var> <var>b<sub>7</sub></var>24</pre>25 26<p>27入力は7行からなり、i行目には<var>i</var>日目の最高気温 <var>a<sub>i</sub></var>(-40 ≤ <var>a<sub>i</sub></var> ≤ 40)と最低気温 <var>b<sub>i</sub></var>(-40 ≤ <var>b<sub>i</sub></var> ≤ 40)を表す整数が与えられる。すべての日において、最高気温 <var>a<sub>i</sub></var> は必ず最低気温 <var>b<sub>i</sub></var> 以上となっている。28</p>29 30<h2>出力</h2>31<p>327日分の気温の差を7行に出力する。33</p>34 35 36<h2>入力例</h2>37 38<pre>3930 194039 204119 184225 204322 214423 104510 -1046</pre>47 48 49<h2>出力例</h2>50 51<pre>521153195415555615713582059</pre>