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 西暦 <var>a</var> 年から <var>b</var> 年までの間にあるすべてのうるう年を出力するプログラムを作成してください。8</p>9<p>10 うるう年の条件は、次のとおりとします。ただし、0 < <var>a</var> ≤ <var>b</var> < 3,000 とします。与えられた期間にうるう年がない場合には "NA"と出力してください。11</p>12<ul>13<li> 西暦年が 4 で割り切れる年であること。</li>14<li> ただし、100 で割り切れる年はうるう年としない。</li>15<li> しかし、400 で割り切れる年はうるう年である。</li>16</ul>17 18<H2>Input</H2>19<p>20複数のデータセットが与えられます。各データセットの形式は以下のとおりです:21</p>22<pre>23<var>a</var> <var>b</var>24</pre>25 26<p>27<var>a</var>, <var>b</var> がともに 0 のとき入力の終了とします。データセットの数は 50 を超えません。28</p>29 30 31<H2>Output</H2>32 33<p>34<!--各データセットごとに、4 桁の西暦または NA(半角英大文字)を出力してください。-->35データセットごとに、西暦または NA を出力してください。36</p>37 38<p>39データセットの間に1つの空行を入れてください。40</p>41<H2>Sample Input</H2>42 43<pre>442001 2010452005 2005462001 2010470 048</pre>49 50<H2>Output for the Sample Input</H2>51 52<pre>53200454200855 56NA57 58200459200860</pre>61 62 63 64 