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
p00150.html53 linesDownload Raw Back to problem_descriptions
1 2<H1>Twin Prime</H1>3 4<p>5Prime numbers are widely applied for cryptographic and communication technology.6A twin prime is a prime number that differs from another prime number by 2.7For example, (5, 7) and (11, 13) are twin prime pairs.8</p>9 10<p>11In this problem, we call the greater number of a twin prime "size of the twin prime."12</p>13 14<p>15Your task is to create a program which reads an integer <i>n</i> and prints a twin prime which has the maximum size among twin primes less than or equals to <i>n</i>16</p>17 18<p>19You may assume that 5 &le; <i>n</i> &le; 10000.20</p>21 22 23<H2>Input</H2>24<p>25The input is a sequence of datasets. The end of the input is indicated by a line containing one zero. Each dataset is formatted as follows:26</p>27<pre>28<i>n</i> (integer)29</pre>30 31<H2>Output</H2>32<p>33For each dataset, print the twin prime <i>p</i> and <i>q</i> (<i>p</i> &lt; <i>q</i>). <i>p</i> and <i>q</i> should be separated by a single space.34</p>35 36<H2>Sample Input</H2>37 38<pre>391240100412004230043044</pre>45 46<H2>Output for the Sample Input</H2>47 48<pre>495 75071 7351197 19952281 28353</pre>