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
p00590.html50 linesDownload Raw Back to problem_descriptions
1 2 3 4<H1>Pair of Primes</H1>5 6<p>7   We arrange the numbers between 1 and N (1 <= N <= 10000) in increasing8order and decreasing order like this:9</p>10<pre>111 2 3 4 5 6 7 8 9 . . . N12N . . . 9 8 7 6 5 4 3 2 113</pre>14 15<p>16Two numbers faced each other form a pair. Your task is to compute the number of pairs P such that both17numbers in the pairs are prime.18 19</p>20 21<H2>Input</H2>22 23<p>24Input contains several test cases. Each test case consists of an integer N in25one line.26 27</p>28 29<H2>Output</H2>30 31<p>32For each line of input, output P .33</p>34 35<H2>Sample Input</H2>36<pre>371384397405141</pre>42 43<H2>Output for the Sample Input</H2>44<pre>45046247248649</pre>50