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
p00401.html50 linesDownload Raw Back to problem_descriptions
1<h1>2の累乗</h1>2 3<p>4与えられた数を、それ以下の数の中で最大の$2$の累乗に変換してください。たとえば、$2$や$3$ならば$2^1=2$に変換してください。同様に$4$,$5$,$6$,$7$ならば$2^2=4$に、$8$,$9$,$10$,$11$,...,$15$ならば$2^3=8$に変換してください。5</p>6 7<p>8  与えられた数を、その数以下の数の中で最大の$2$の累乗に変換するプログラムを作成せよ。9</p>10 11 12<h2>入力</h2>13<p>14  入力は以下の形式で与えられる。15</p>16<pre>17$N$18</pre>19 20<p>21  1行に数$N$ ($2 \leq N \leq 10^6$)が与えられる。22</p>23 24<h2>出力</h2>25<p>26  変換した数を1行に出力する。27</p>28 29<h2>入出力例</h2>30 31<h3>入力例1</h3>32<pre>335434</pre>35 36<h3>出力例1</h3>37<pre>383239</pre>40 41<h3>入力例2</h3>42<pre>43102444</pre>45 46<h3>出力例2</h3>47<pre>481024	49</pre>50