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>Sum and Average</H1>5 6<p>7販売単価と販売数量を読み込んで、販売金額の総合計と販売数量の平均を出力するプログラムを作成してください。8</p>9 10<H2>Input</H2>11<p>12入力は以下の形式で与えられます。13</p>14 15<pre>16販売単価,販売数量17販売単価,販売数量18:19:20</pre>21 22<p>23カンマで区切られた販売単価と販売数量の組が、複数行に渡って与えられます。入力される値はすべて 0 以上 1,000 以下で、販売単価と販売数量の組の数は 100 を超えません。24</p>25 26<H2>Output</H2>27 28<p>291行目に販売金額の総合計(整数)、2行目に販売数量の平均(整数)を出力してください。30販売数量の平均に端数(小数点以下の数)が生じた場合は小数点以下第 1 位を四捨五入してください。31</p>32 33<H2>Sample Input</H2>34 35<pre>36100,203750,103870,3539</pre>40 41<H2>Output for the Sample Input</H2>42 43<pre>444950452246</pre>47 48 49 