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
p00057.html52 linesDownload Raw Back to problem_descriptions
1 2 3 4<H1>領域の数</H1>5 6<p>7無限に広い平面の上に、無限に長い直線を数本引くと、この平面はいくつかの領域に分割されます。たとえば、直線を1本引くと、平面は2つの領域に分割されます。同じ数の直線を引いても、引き方によって得られる領域の数は異なります。たとえば、2 本の直線を平行に引けば得られる領域は 3 つになり、互いに垂直に引けば得られる領域は 4 つになります。8</p>9 10<center>11<img src="https://judgeapi.u-aizu.ac.jp/resources/images/IMAGE1_area">12</center>13<br/>14 15<p>16<var>n</var> 本の直線を引くことで得られる最大の領域の数を出力するプログラムを作成してください。17</p>18 19<H2>Input</H2>20 21<p>22複数のデータセットが与えられます。各データセットに <var>n</var> (1 &le; <var>n</var> &le; 10,000) が1行に与えられます。入力の最後まで処理して下さい。23</p>24 25<p>26データセットの数は 50 を超えません。27</p>28 29 30<H2>Output</H2>31 32<p>33各データセットに対して、最大の分割数を1行に出力して下さい。34</p>35 36<H2>Sample Input</H2>37 38<pre>39140341</pre>42 43<H2>Output for the Sample Input</H2>44 45<pre>46247748</pre>49 50 51 52