id stringlengths 32 32 ⌀ | instruction_seed stringlengths 187 48.6k | output stringlengths 4.44k 79.3k ⌀ | source stringclasses 10
values | license stringclasses 4
values | dataset stringclasses 4
values | split stringclasses 3
values | difficulty int64 6 10 | solution stringlengths 8 12.5k ⌀ | index stringclasses 88
values | _source stringclasses 2
values | difficulty_reasoning stringlengths 287 861 | __original_row_idx int64 19 43k | ms_id int64 1 3.95k | reasoning sequencelengths 16 16 | deepseek_solution sequencelengths 16 16 | final_reasoning_trace sequencelengths 16 16 | correct sequencelengths 16 16 | classifier_reasoning stringlengths 58 538 | _majority_responses sequencelengths 2 16 | verified_final_reasoning_trace stringlengths 1.83k 106k | conversations listlengths 2 2 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
afece4bdc61d1a50145c71b00f062993 | "You may know that Euclid was a mathematician. Well, as it turns out, Morpheus knew it too. So when (...TRUNCATED) | "<think>\nOkay, let's see. So the problem is about finding the size of the set T, which is all possi(...TRUNCATED) | codeforces | cc-by-4.0 | code_contests | train | 8 | "MOD = 10**9 + 7\n\nn, m = map(int, input().split())\n\nvectors = []\nfor i in range(n):\n parts (...TRUNCATED) | null | nvidia/OpenCodeReasoning | "The problem involves complex concepts from linear algebra over the binary field Z_2, specifically v(...TRUNCATED) | 29,127 | 3,120 | ["Okay, I need to solve this programming problem. Let's read the problem statement carefully.\n\nSo,(...TRUNCATED) | ["To solve this problem, we need to determine two things: the number of distinct vectors that can be(...TRUNCATED) | ["<think>\nOkay, I need to solve this programming problem. Let's read the problem statement carefull(...TRUNCATED) | [
true,
true,
true,
false,
true,
true,
false,
false,
false,
false,
true,
true,
true,
true,
true,
true
] | "The provided answer is structured into concise sections, mainly composed of shorter paragraphs that(...TRUNCATED) | ["<think>\nOkay, I need to solve this programming problem. Let's read the problem statement carefull(...TRUNCATED) | "<think>\nOkay, let's try to solve this problem. Hmm. So the problem is about finding the size of th(...TRUNCATED) | [{"from":"human","value":"You may know that Euclid was a mathematician. Well, as it turns out, Morph(...TRUNCATED) |
null | "This is a graphical output challenge where the task is to give the shortest code per language. \nT(...TRUNCATED) | null | null | null | null | null | 7 | null | null | stackexchange_codegolf | "The problem involves graphical programming with specific requirements for animation timing, continu(...TRUNCATED) | 25,457 | 1,233 | ["Okay, I need to solve this problem where I have to create a program that displays a single purple (...TRUNCATED) | ["## Python, 310 bytes\n```python\nimport pygame as p\nfrom time import time as t\np.init()\nw=h=100(...TRUNCATED) | ["<think>\nOkay, I need to solve this problem where I have to create a program that displays a singl(...TRUNCATED) | [
false,
false,
true,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
true,
true
] | "The answer provided contains multiple long paragraphs. While the content is detailed, it includes e(...TRUNCATED) | ["<think>\nOkay, I need to solve this problem where I have to create a program that displays a singl(...TRUNCATED) | "<think>\nOkay, I need to solve this problem where I have to create a program that displays a single(...TRUNCATED) | [{"from":"human","value":"This is a graphical output challenge where the task is to give the shortes(...TRUNCATED) |
9b7971fe009dac992378c94f8dfe9507 | "A permutation of size n is an array of size n such that each integer from 1 to n occurs exactly onc(...TRUNCATED) | "<think>\nOkay, I need to solve this problem where I have to calculate the expected number of invers(...TRUNCATED) | codeforces | cc-by-4.0 | code_contests | train | 8 | "MOD = 998244353\nimport bisect\n\nclass FenwickTree:\n def __init__(self, size):\n self.n(...TRUNCATED) | null | nvidia/OpenCodeReasoning | "The problem requires a deep understanding of permutations and expectations involving inversions, wh(...TRUNCATED) | 25,251 | 1,981 | ["Okay, I need to solve this problem where given a permutation with some elements replaced by -1, I (...TRUNCATED) | ["To solve this problem, we need to calculate the expected number of inversions in a permutation whe(...TRUNCATED) | ["<think>\nOkay, I need to solve this problem where given a permutation with some elements replaced (...TRUNCATED) | [
true,
true,
true,
false,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true
] | "The provided answer was structured without any long paragraphs, adhering to the condition of paragr(...TRUNCATED) | ["<think>\nOkay, I need to solve this problem where given a permutation with some elements replaced (...TRUNCATED) | "<think>\nOkay, let's see. So the problem is about calculating the expected number of inversions in (...TRUNCATED) | [{"from":"human","value":"A permutation of size n is an array of size n such that each integer from (...TRUNCATED) |
bf86054a6603dc4426189d78721492b4 | "An infinitely long Line Chillland Collider (LCC) was built in Chillland. There are n pipes with coo(...TRUNCATED) | "<think>\nOkay, let's tackle this problem. Hmm, the problem is about protons moving left or right wi(...TRUNCATED) | codeforces | cc-by-4.0 | code_contests | train | 9 | "MOD = 998244353\n\nn = int(input())\npipes = [tuple(map(int, input().split())) for _ in range(n)]\n(...TRUNCATED) | null | nvidia/OpenCodeReasoning | "This problem is categorized as Level 9 due to its requirement of extensive knowledge of advanced al(...TRUNCATED) | 26,052 | 2,642 | ["Okay, so I have this problem where I need to find the expected duration of an experiment involving(...TRUNCATED) | ["To solve this problem, we need to determine the expected duration of an experiment involving proto(...TRUNCATED) | ["<think>\nOkay, so I have this problem where I need to find the expected duration of an experiment (...TRUNCATED) | [
true,
true,
false,
true,
false,
false,
true,
false,
false,
false,
false,
true,
true,
false,
false,
true
] | "The provided answer does not include long paragraphs that exceed 750 words. It explains the steps a(...TRUNCATED) | ["<think>\nOkay, so I have this problem where I need to find the expected duration of an experiment (...TRUNCATED) | "<think>\nOkay, let's see. I have to find the expected duration of the experiment, which is the time(...TRUNCATED) | [{"from":"human","value":"An infinitely long Line Chillland Collider (LCC) was built in Chillland. T(...TRUNCATED) |
7fe23110e35d1767dba3b39458aa652a | "Petya is an unexperienced programming contestant. Recently he has come across the following problem(...TRUNCATED) | "<think>\nOkay, let's see. So Petya wrote a solution for the Hamiltonian path problem, but it might (...TRUNCATED) | codeforces | cc-by-4.0 | code_contests | train | 8 | "n, m = map(int, input().split())\nadj = [[] for _ in range(n + 1)]\nfor _ in range(m):\n u, v = (...TRUNCATED) | null | nvidia/OpenCodeReasoning | "The problem involves determining the existence of a Hamiltonian path in an undirected graph, which (...TRUNCATED) | 17,684 | 3,116 | ["Okay, so I need to figure out what Petya's code outputs for the Hamiltonian path problem. The prob(...TRUNCATED) | ["To solve this problem, we need to determine if the given undirected graph contains a Hamiltonian p(...TRUNCATED) | ["<think>\nOkay, so I need to figure out what Petya's code outputs for the Hamiltonian path problem.(...TRUNCATED) | [
true,
true,
true,
false,
true,
true,
true,
true,
true,
false,
true,
true,
false,
true,
true,
false
] | "The provided answer does not contain any paragraphs longer than 750 words. It is structured in a wa(...TRUNCATED) | ["<think>\nOkay, so I need to figure out what Petya's code outputs for the Hamiltonian path problem.(...TRUNCATED) | "<think>\nOkay, I need to figure out what Petya's code outputs for the Hamiltonian path problem. Sin(...TRUNCATED) | [{"from":"human","value":"Petya is an unexperienced programming contestant. Recently he has come acr(...TRUNCATED) |
bac550e87271e84e65b6fb6544055d49 | "For a permutation P[1... N] of integers from 1 to N, function f is defined as follows:\n\n $f(i, j)(...TRUNCATED) | "<think>\nOkay, I need to solve this problem where I have to create a permutation of integers from 1(...TRUNCATED) | codeforces | - | - | - | 8 | "n, a, b = map(int, input().split())\n\nx = -1\ny = -1\n\n# Check all possible x values to find x an(...TRUNCATED) | null | nvidia/OpenCodeReasoning | "The problem involves advanced algorithmic concepts, specifically understanding permutations and cyc(...TRUNCATED) | 16,580 | 3,486 | ["Okay, let's tackle this problem. So, we need to create a permutation of numbers from 1 to N such t(...TRUNCATED) | ["To solve this problem, we need to construct a permutation of integers from 1 to N such that the mi(...TRUNCATED) | ["<think>\nOkay, let's tackle this problem. So, we need to create a permutation of numbers from 1 to(...TRUNCATED) | [
true,
true,
true,
false,
true,
true,
false,
true,
false,
true,
true,
true,
true,
true,
false,
true
] | "The answer is free of any long paragraphs because the explanation is structured in smaller, digesti(...TRUNCATED) | ["<think>\nOkay, let's tackle this problem. So, we need to create a permutation of numbers from 1 to(...TRUNCATED) | "<think>\nOkay, I need to find a permutation of integers from 1 to N such that for each element i, t(...TRUNCATED) | [{"from":"human","value":"For a permutation P[1... N] of integers from 1 to N, function f is defined(...TRUNCATED) |
null | "Input\nThe code should take an integer \\$n\\$ between 1 and 1000.\nOutput\nThe code should output (...TRUNCATED) | null | null | null | null | null | 8 | null | null | stackexchange_codegolf | "This problem requires a deep understanding of number theory, specifically in the areas of primality(...TRUNCATED) | 25,373 | 2,300 | ["Okay, so I need to write a program that outputs as many n-bit positive integers as possible along (...TRUNCATED) | ["To solve this problem, we need to generate uniformly random n-bit integers along with their full f(...TRUNCATED) | ["<think>\nOkay, so I need to write a program that outputs as many n-bit positive integers as possib(...TRUNCATED) | [
false,
false,
false,
false,
false,
true,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false
] | "The provided answer contains several long paragraphs that exceed the 750-word limit set in the inst(...TRUNCATED) | ["<think>\nOkay, I need to solve this problem where the code has to output as many n-bit integers as(...TRUNCATED) | "<think>\nOkay, I need to solve this problem where I have to generate n-bit numbers (for n=500) alon(...TRUNCATED) | [{"from":"human","value":"Input\nThe code should take an integer \\$n\\$ between 1 and 1000.\nOutput(...TRUNCATED) |
f938b5c9987dc331cf4047a24cda2c48 | "Read problem statements in [Hindi], [Bengali], [Mandarin Chinese], [Russian], and [Vietnamese] as w(...TRUNCATED) | "<think>\nOkay, let's see. So the problem is about a game between Ari and Rich with two piles of mat(...TRUNCATED) | codechef | apache-2.0 | taco | train | 9 | "import sys\n\ndef determine_winner():\n input = sys.stdin.read\n data = input().split()\n (...TRUNCATED) | 11222 | nvidia/OpenCodeReasoning | "The problem involves strategy based on game theory and requires optimal play between two players un(...TRUNCATED) | 25,414 | 1,410 | ["Okay, let's try to figure out this problem. So the game involves two piles of matches, N and M. Pl(...TRUNCATED) | ["To solve this problem, we need to determine the winner of a game played between Ari and Rich with (...TRUNCATED) | ["<think>\nOkay, let's try to figure out this problem. So the game involves two piles of matches, N (...TRUNCATED) | [
true,
false,
true,
true,
false,
true,
true,
false,
true,
false,
false,
true,
false,
true,
true,
true
] | "The provided answer is free of any long paragraphs. The text is organized into clear sections, with(...TRUNCATED) | ["<think>\nOkay, let's try to figure out this problem. So the game involves two piles of matches, N (...TRUNCATED) | "<think>\nOkay, let's try to figure out this problem. So the game is between Ari and Rich with two p(...TRUNCATED) | [{"from":"human","value":"Read problem statements in [Hindi], [Bengali], [Mandarin Chinese], [Russia(...TRUNCATED) |
null | "Oh, <PROGRAM NAME HERE>, tell me how many character '<CHARACTER HERE>'/s are there in your body.\n\(...TRUNCATED) | null | null | null | null | null | 9 | null | null | stackexchange_codegolf | "This problem is complex due to its requirement for a quine-like solution, which involves understand(...TRUNCATED) | 15,679 | 1,739 | ["Okay, I need to write a quine-like program that takes a character as input and outputs the number (...TRUNCATED) | ["To solve this problem, we need to create a quine-like program that reads a single character input (...TRUNCATED) | ["<think>\nOkay, I need to write a quine-like program that takes a character as input and outputs th(...TRUNCATED) | [
false,
true,
false,
false,
true,
true,
false,
false,
true,
true,
false,
true,
false,
false,
true,
false
] | The answer contains multiple long paragraphs, exceeding 750 words in total when combined. | ["<think>\nOkay, so I need to write a quine-like program that counts the number of times a given inp(...TRUNCATED) | "<think>\nOkay, I need to write a quine-like program that takes a character as input and outputs the(...TRUNCATED) | [{"from":"human","value":"Oh, <PROGRAM NAME HERE>, tell me how many character '<CHARACTER HERE>'/s a(...TRUNCATED) |
709eb3d3dd778de77b095fd9da1757cc | "Consider a following game between two players:\n\nThere is an array b_1, b_2, ..., b_k, consisting (...TRUNCATED) | "<think>\nOkay, so I need to solve this programming problem. Let me read the problem statement caref(...TRUNCATED) | codeforces | cc-by-4.0 | code_contests | train | 8 | "import sys\n\ndef main():\n import sys\n input = sys.stdin.read().split()\n ptr = 0\n n(...TRUNCATED) | null | nvidia/OpenCodeReasoning | "The problem involves a non-trivial game theory aspect where two players choose moves based on a str(...TRUNCATED) | 16,773 | 3,153 | ["Okay, so I need to solve this programming problem. Let's read through the problem carefully.\n\nTh(...TRUNCATED) | ["To solve this problem, we need to determine the winner of a game played on a subarray of an array,(...TRUNCATED) | ["<think>\nOkay, so I need to solve this programming problem. Let's read through the problem careful(...TRUNCATED) | [
false,
false,
false,
true,
true,
false,
false,
false,
false,
true,
false,
false,
false,
false,
true,
true
] | "The answer provided contains multiple long paragraphs that exceed the specified limit of 750 words.(...TRUNCATED) | ["<think>\nOkay, let's see. So the problem is about a game played on an array, and we need to determ(...TRUNCATED) | "<think>\nOkay, let's see. We have this game problem where two players take turns moving a chip on a(...TRUNCATED) | [{"from":"human","value":"Consider a following game between two players:\n\nThere is an array b_1, b(...TRUNCATED) |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 5