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 5<H1>問題 4 </H1>6<br/>7 8<p>9 IOI 不動産ではマンションの賃貸を行なっている.10この会社が取り扱うマンションの部屋は 1LDK で,11下図のように面積が 2xy+x+y になっている.12ただし, x, y は正整数である.13</p>14 15<br/>16<center>17<img src="https://judgeapi.u-aizu.ac.jp/resources/images/IMAGE2_Madori" alt="Figure_Madori">18</center>19<br/>20 21<p>22 IOI 不動産のカタログにはマンションの面積が昇順に(狭いものから順番に)書かれているが,この中にいくつか間違い(ありえない面積のもの)が混じっていることがわかった.23</p>24 25<p>26 カタログ(入力ファイル)は N+1 行で,最初の行に部屋数が書かれていて,27続く N 行に,1行に1部屋ずつ面積が昇順に書かれている.28ただし,29部屋数は 100,000 以下,30面積は (2の31乗)-1 = 2,147,483,647 以下である.315つの入力データのうち3つまでは,32部屋数 1000 以下,面積 30000 以下である.33</p>34 35<p>36 間違っている行数(ありえない部屋の数)を出力しなさい.37</p>38 39<p>40 出力ファイルにおいては,41出力の最後の行にも改行コードを入れること.42</p>43 44<h2>入出力例</h2>45 46<h3>入力例</h3>47 48<pre>4910504517529531054125513561657175819592060</pre>61 62<h3>出力例</h3>63 64<pre>2</pre>65 66 67<div class="source">68<p class="source">69問題文と自動審判に使われるデータは、<a href="http://www.ioi-jp.org">情報オリンピック日本委員会</a>が作成し公開している問題文と採点用テストデータです。70</p>71</div>72 