Team Ai
Datasetpublic

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.

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
3likes139downloads
p00159.html75 linesDownload Raw Back to problem_descriptions
1 2 3 4<H1>理想の体型</H1>5 6<p>7肥満度を表す指数としてBMI(Body Mass Index)があります。BMIの値は以下の式で計算します。8</p>9 10<center>11<p>12BMI = 体重(kg) / (身長(m))<sup>2</sup>13</p>14</center>15 16<p>17BMIの値が標準値に近いほど「理想の体型」と考えられます。そこで、BMIの標準値を 22 とした場合、対象者の情報を入力とし、最も「理想の体型」に近い人の情報を出力するプログラムを作成してください。18</p>19 20<p>21対象者の数を <var>n</var> とすると、各対象者には重複のないように1 以上 <var>n</var> 以下の整数値の受付番号 <var>p</var> が振られています。22</p>23 24<H2>Input</H2>25 26<p>27複数のデータセットの並びが入力として与えられます。入力の終わりはゼロひとつの行で示されます。各データセットは以下の形式で与えられます。28</p>29 30<pre>31<var>n</var>32<var>p<sub>1</sub></var> <var>h<sub>1</sub></var> <var>w<sub>1</sub></var>33<var>p<sub>2</sub></var> <var>h<sub>2</sub></var> <var>w<sub>2</sub></var>34:35<var>p<sub>n</sub></var> <var>h<sub>n</sub></var> <var>w<sub>n</sub></var>36</pre>37 38<p>391行目に対象者の人数 <var>n</var> (<var>n</var> &le; 1000)、続く <var>n</var> 行に <var>i</var> 人目の対象者の受付番号 <var>p<sub>i</sub></var> (1 &le; <var>p<sub>i</sub></var> &le; <var>n</var>)、センチメートル単位の身長 <var>h<sub>i</sub></var> (1 &le; <var>h<sub>i</sub></var> &le; 200)、キログラム単位の体重 <var>w<sub>i</sub></var> (1 &le; <var>w<sub>i</sub></var> &le; 200) が与えられます。入力は全て整数で与えられます。40</p>41 42<H2>Output</H2>43 44<p>45データセットごとに「理想の体型」に最も近い人の受付番号(整数)を1行に出力します。最も「理想の体型」に近い人が二人以上いる場合は、受付番号の小さい方を出力することとします。46</p>47 48 49<H2>Sample Input</H2>50 51<pre>526531 165 66542 178 60553 180 72564 160 65575 185 62586 182 62593603 160 65612 180 70621 170 7563064</pre>65 66<H2>Output for the Sample Input</H2>67 68<pre>69370271</pre>72 73 74 75