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
p00599.html71 linesDownload Raw Back to problem_descriptions
1 2<H1><font color="#000000">Problem E:</font> Combinatorial Topology </H1>3 4<p>5It was long believed that a 2-dimensional place can not be filled with a finite set of polygons in aperiodic way. British mathematician, Sir Roger Penrose, developed an aperiodic tiling over the years and established a theory of what is known today as quasicrystals.6</p>7 8<p>9The classic Penrose tiles consist of two rhombi with angles 36 and 72 degrees, see Figure 1. The edges of the rhombi are all of equal unit length, 1. These can fill the entire place without holes and overlaps (see Figure 2). Example: the bold line boundary in Figure 1 is filled with 20 thin tiles and 20 thick tiles.10</p>11 12<p>13Given a boundary (set of adjacent vertices counter-clock-wise oriented), how many thin tiles (36 degrees) and how many thick tiles (72 degrees) do you need to fill it (without any holes and intersections)?14</p>15 16<center>17<img src="https://judgeapi.u-aizu.ac.jp/resources/images/IMAGE1_combinatorialtopology">18</center>19 20<H2>Input</H2>21 22<p>23Each data set is defined as follows:24</p>25 26<p>27<i>Line 1</i>: Number of vertices <i>N</i> (<i>N</i> &lt; 100).28</p>29 30<p>31<i>N lines</i>: <i>x</i> and <i>y</i> coordinates of each vertex per line separated by blanks (|<i>x</i>| &lt; 100, |<i>y</i>| &lt; 100).32</p>33 34<p>35All floats in the input have 6 digits after the decimal point. 36</p>37 38<p>39The required precision is 4 digits. 40</p>41 42<p>43Input file includes several data sets. The number of data sets is less than 20.44</p>45 46 47 48<H2>Output</H2>49 50<p>51Each line contains the solution for one set. First, there is the number of thin tiles, then the number of thick tiles, separated by a space. If the boundary is illegal for the above problem, the output should be "-1 -1".52</p>53 54<H2>Sample Input</H2>55<pre>56457-5.000000 0.000000585.000000 0.000000599.635255 14.26584860-0.364745 14.26584861362-1.000000 0.000000630.000000 0.000000640.000000 1.00000065</pre>66 67<H2>Output for the Sample Input</H2>68<pre>690 15070-1 -171</pre>