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 9<p>10 平面上の n 個の点 P<sub>1</sub>, ..., P<sub>n</sub> が与えられたとき,11距離が最小の2点を求めたい.12</p>13 14<p>15 入力ファイルの1行目には整数 n が書いてある.162行目から n+1 行目のそれぞれには,172つの正整数 x, y が1つの半角空白文字を区切りとして書いてある.18i+1 行目の x, y はそれぞれ P<sub>i</sub> の x 座標,19P<sub>i</sub> の y 座標である.20これら n 点の中から最も近い2点を選んだとき,21この2点間の距離の2乗を出力せよ.22</p>23 24<!--25<p>26 ただし,272≦n≦10<sup>8</sup> かつ -10000≦x≦10000, -10000≦y≦10000 とし,285つの入力ファイルのうち3つでは n≦100 である.29また,どの入力ファイルにおいても,全ての座標は異なるものとする.30</p>31-->32<p>33 ただし,342≤n≤500000 かつ -10000≤x≤10000, -10000≤y≤10000 とし,355つの入力ファイルのうち3つでは n≤100 である.36また,どの入力ファイルにおいても,全ての座標は異なるものとする.37</p>38 39 40<p>41<!-- 入力ファイルの改行コードは CR+LF である.42また,-->43出力ファイルにおいては,44出力の最後の行にも改行コードを入れること.45</p>46 47<h2>入出力例</h2>48 49<h3>入力例1</h3>50<pre>512520 0531 154</pre>55 56<h3>出力例1</h3>57 58<pre>59260</pre>61 62<br>63 64<h3>入力例2</h3>65 66<pre>673685 5690 070-3 -471</pre>72 73<h3>出力例2</h3>74<pre>752576</pre>77 78 79<div class="source">80<p class="source">81問題文と自動審判に使われるデータは、<a href="http://www.ioi-jp.org">情報オリンピック日本委員会</a>が作成し公開している問題文と採点用テストデータです。82</p>83</div>84 