id stringclasses 10
values | instruction_seed stringclasses 10
values | output stringclasses 10
values | source stringclasses 2
values | license stringclasses 1
value | dataset stringclasses 1
value | split stringclasses 1
value | difficulty stringclasses 6
values | solution stringclasses 10
values | _source stringclasses 1
value | to_be_used float64 95 100 | classifier_reasoning stringclasses 10
values | __original_row_idx int64 0 9 | ms_id int64 0 9 | reasoning sequencelengths 16 16 | deepseek_solution sequencelengths 16 16 | final_reasoning_trace sequencelengths 16 16 | correct_majority_indices sequencelengths 6 16 | _judge_reasoning stringclasses 10
values | _majority_responses sequencelengths 6 16 | verified_final_reasoning_trace stringlengths 5.05k 91.5k | conversations listlengths 2 2 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8be667fb42682957580ebc058aeceb7a | "Find the sum of the weights of edges of the Minimum-Cost Arborescence with the root r for a given w(...TRUNCATED) | "<think>\nOkay, so I need to find the sum of the weights of the minimum-cost arborescence with a giv(...TRUNCATED) | aizu | cc-by-4.0 | code_contests | train | UNKNOWN_DIFFICULTY | "def min_cost_arborescence(root, nodes, edges):\n if not nodes:\n return 0\n\n # Dictio(...TRUNCATED) | nvidia/OpenCodeReasoning | 95 | "The provided question asks for a specific computational problem—finding the sum of edge weights o(...TRUNCATED) | 6 | 9 | ["Okay, I need to find the sum of the weights of the minimum-cost arborescence with a given root r i(...TRUNCATED) | ["To solve this problem, we need to find the sum of the weights of the edges of the Minimum-Cost Arb(...TRUNCATED) | ["<think>\nOkay, I need to find the sum of the weights of the minimum-cost arborescence with a given(...TRUNCATED) | [
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15"
] | "Each candidate solution discusses methods for finding the minimum cost in an arborescence. Upon rev(...TRUNCATED) | ["<think>\nOkay, I need to find the sum of the weights of the minimum-cost arborescence with a given(...TRUNCATED) | "<think>\nOkay, I need to find the sum of the weights of the minimum-cost arborescence with a given (...TRUNCATED) | [{"from":"human","value":"Find the sum of the weights of edges of the Minimum-Cost Arborescence with(...TRUNCATED) |
bc56f8034c81292722d43d9877e74655 | "Ali is Hamed's little brother and tomorrow is his birthday. Hamed wants his brother to earn his gif(...TRUNCATED) | "<think>\nOkay, I need to solve this programming problem for Ali. Let's start by understanding the p(...TRUNCATED) | codeforces | cc-by-4.0 | code_contests | train | VERY_HARD | "import sys\nMOD = 10**9 + 7\nsys.setrecursionlimit(1 << 25)\n\ndef main():\n n = int(sys.stdin.r(...TRUNCATED) | nvidia/OpenCodeReasoning | 97 | "The provided question involves a specific algorithmic problem related to tree structures, weighted (...TRUNCATED) | 9 | 0 | ["Okay, let's try to figure out this problem. So, the problem is about a rooted tree where each edge(...TRUNCATED) | ["To solve this problem, we need to compute the function \\( f(u, v) \\) for multiple queries on a t(...TRUNCATED) | ["<think>\nOkay, let's try to figure out this problem. So, the problem is about a rooted tree where (...TRUNCATED) | [
"0",
"5",
"9",
"10",
"12",
"14"
] | "The candidate solutions provided seem to follow a common structure regarding the calculation of sub(...TRUNCATED) | ["<think>\nOkay, let's try to figure out this problem. So, the problem is about a rooted tree where (...TRUNCATED) | "<think>\nOkay, let's try to figure out how to solve this problem. Hmm, the problem statement says w(...TRUNCATED) | [{"from":"human","value":"Ali is Hamed's little brother and tomorrow is his birthday. Hamed wants hi(...TRUNCATED) |
c3cc2633bfa653699f525a34b26f32dd | "Hongcow is learning to spell! One day, his teacher gives him a word that he needs to learn to spell(...TRUNCATED) | "<think>\nOkay, let's see. The problem is to find out how many distinct cyclic shifts a given string(...TRUNCATED) | codeforces | cc-by-4.0 | code_contests | train | interview | "s = input().strip()\nn = len(s)\nunique_shifts = set()\n\nfor k in range(n):\n rotated = s[-k:] (...TRUNCATED) | nvidia/OpenCodeReasoning | 95 | "This question is similar to the positive examples because it involves a combinatorial problem relat(...TRUNCATED) | 1 | 5 | ["Okay, let's see. The problem is about finding the number of distinct cyclic shifts of a given stri(...TRUNCATED) | ["To solve this problem, we need to determine the number of distinct cyclic shifts that can be gener(...TRUNCATED) | ["<think>\nOkay, let's see. The problem is about finding the number of distinct cyclic shifts of a g(...TRUNCATED) | [
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15"
] | "All solutions describe a similar method to count distinct cyclic shifts of a string and thus yield (...TRUNCATED) | ["<think>\nOkay, let's see. The problem is about finding the number of distinct cyclic shifts of a g(...TRUNCATED) | "<think>\nOkay, let's see. The problem is about finding the number of distinct cyclic shifts of a gi(...TRUNCATED) | [{"from":"human","value":"Hongcow is learning to spell! One day, his teacher gives him a word that h(...TRUNCATED) |
5692cf40112cbb8ba3f681b8ceba144c | "A rabbit who came to the fair found that the prize for a game at a store was a carrot cake. The rul(...TRUNCATED) | "<think>\nOkay, let's tackle this programming problem. Hmm, the problem is about a grid where blocks(...TRUNCATED) | aizu | cc-by-4.0 | code_contests | train | UNKNOWN_DIFFICULTY | "h, w, n = map(int, input().split())\noriginal = [list(input().strip()) for _ in range(h)]\n\ndef si(...TRUNCATED) | nvidia/OpenCodeReasoning | 95 | "The provided question is a problem-solving question that requires reasoning about a specific scenar(...TRUNCATED) | 4 | 3 | ["Okay, let's see. The problem is about determining whether there's a possible swap that can make al(...TRUNCATED) | ["To solve this problem, we need to determine if there exists a single swap of adjacent cells in a g(...TRUNCATED) | ["<think>\nOkay, let's see. The problem is about determining whether there's a possible swap that ca(...TRUNCATED) | [
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15"
] | "All the solutions provided are valid representations of how to solve the given problem, and each on(...TRUNCATED) | ["<think>\nOkay, let's see. The problem is about determining whether there's a possible swap that ca(...TRUNCATED) | "<think>\nOkay, let's tackle this programming problem. Hmm, the problem is about a grid where blocks(...TRUNCATED) | [{"from":"human","value":"A rabbit who came to the fair found that the prize for a game at a store w(...TRUNCATED) |
39ce61e19acbfada59c33b82a74f0838 | "The Berland's capital has the form of a rectangle with sizes n × m quarters. All quarters are divi(...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 | HARD | "n, m, q, p = map(int, input().split())\ngrid = [input().strip() for _ in range(n)]\n\ntotal = [[0]*(...TRUNCATED) | nvidia/OpenCodeReasoning | 100 | "The provided question is similar to the positive examples because it involves a complex problem tha(...TRUNCATED) | 7 | 1 | ["Okay, so I've got this programming problem to solve. Let's see what it's about. Hmm. The problem i(...TRUNCATED) | ["To solve this problem, we need to determine the number of city quarters where the noise level exce(...TRUNCATED) | ["<think>\nOkay, so I've got this programming problem to solve. Let's see what it's about. Hmm. The (...TRUNCATED) | [
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15"
] | "Every solution provided contains a valid explanation of processing the noise propagation problem. T(...TRUNCATED) | ["<think>\nOkay, so I've got this programming problem to solve. Let's see what it's about. Hmm. The (...TRUNCATED) | "<think>\nOkay, let's see. So the problem is about calculating the noise levels in each quarter of a(...TRUNCATED) | [{"from":"human","value":"The Berland's capital has the form of a rectangle with sizes n × m quarte(...TRUNCATED) |
e31cb08c940536acecf1962617ababa4 | "There is a forest that we model as a plane and live n rare animals. Animal number i has its lair in(...TRUNCATED) | "<think>\nOkay, let's see. The problem is to find the minimal radius of a circle that contains all g(...TRUNCATED) | codeforces | cc-by-4.0 | code_contests | train | 10 | "n = int(input())\npoints = []\nhas_positive = False\nhas_negative = False\n\nfor _ in range(n):\n (...TRUNCATED) | nvidia/OpenCodeReasoning | 95 | "The question presented is a complex mathematical problem involving geometry and optimization, simil(...TRUNCATED) | 5 | 2 | ["Okay, I need to solve this programming problem. Let's read the problem carefully.\n\nSo, the task (...TRUNCATED) | ["To solve this problem, we need to determine the minimum radius of a circle that can enclose all gi(...TRUNCATED) | ["<think>\nOkay, I need to solve this programming problem. Let's read the problem carefully.\n\nSo, (...TRUNCATED) | [
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15"
] | "All candidate solutions could potentially lead to valid outputs based on the problem's requirements(...TRUNCATED) | ["<think>\nOkay, I need to solve this programming problem. Let's read the problem carefully.\n\nSo, (...TRUNCATED) | "<think>\nOkay, let's see. So the problem is to find the minimum radius of a circle that contains al(...TRUNCATED) | [{"from":"human","value":"There is a forest that we model as a plane and live n rare animals. Animal(...TRUNCATED) |
2dc65fe0f1e2a70138c5198448d18937 | "Limak is going to participate in a contest on the last day of the 2016. The contest will start at 2(...TRUNCATED) | "<think>\nOkay, I need to solve this programming problem. Let's read the problem statement carefully(...TRUNCATED) | codeforces | cc-by-4.0 | code_contests | train | interview | "n, k = map(int, input().split())\navailable = 240 - k\nif available < 0:\n print(0)\nelse:\n (...TRUNCATED) | nvidia/OpenCodeReasoning | 100 | "The provided question is a problem-solving scenario that involves calculations based on given const(...TRUNCATED) | 0 | 7 | ["Okay, let's see. The problem is about Limak trying to solve as many contest problems as possible b(...TRUNCATED) | ["To solve this problem, we need to determine the maximum number of problems Limak can solve in a co(...TRUNCATED) | ["<think>\nOkay, let's see. The problem is about Limak trying to solve as many contest problems as p(...TRUNCATED) | [
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15"
] | "All candidate solutions produce the same logic and output the maximum number of problems that Limak(...TRUNCATED) | ["<think>\nOkay, let's see. The problem is about Limak trying to solve as many contest problems as p(...TRUNCATED) | "<think>\nOkay, let's see. So the problem is about Limak trying to solve as many problems as possibl(...TRUNCATED) | [{"from":"human","value":"Limak is going to participate in a contest on the last day of the 2016. Th(...TRUNCATED) |
2dc65fe0f1e2a70138c5198448d18937 | "Limak is going to participate in a contest on the last day of the 2016. The contest will start at 2(...TRUNCATED) | "<think>\nOkay, I need to solve this programming problem. Let's read the problem statement carefully(...TRUNCATED) | codeforces | cc-by-4.0 | code_contests | train | interview | "n, k = map(int, input().split())\navailable = 240 - k\nif available < 0:\n print(0)\nelse:\n (...TRUNCATED) | nvidia/OpenCodeReasoning | 100 | "The provided question is a problem-solving scenario that involves calculations based on given const(...TRUNCATED) | 0 | 7 | ["Okay, let's see. The problem is about Limak trying to solve as many contest problems as possible b(...TRUNCATED) | ["To solve this problem, we need to determine the maximum number of problems Limak can solve in a co(...TRUNCATED) | ["<think>\nOkay, let's see. The problem is about Limak trying to solve as many contest problems as p(...TRUNCATED) | [
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15"
] | "All candidate solutions produce the same logic and output the maximum number of problems that Limak(...TRUNCATED) | ["<think>\nOkay, let's see. The problem is about Limak trying to solve as many contest problems as p(...TRUNCATED) | "<think>\nOkay, let's see. I need to find out how many problems Limak can solve before the contest e(...TRUNCATED) | [{"from":"human","value":"Limak is going to participate in a contest on the last day of the 2016. Th(...TRUNCATED) |
4951486bce2eb180de066a30fcac4c57 | "n students are taking an exam. The highest possible score at this exam is m. Let a_{i} be the score(...TRUNCATED) | "<think>\nOkay, I need to solve this programming problem. Let's read the problem carefully.\n\nSo, t(...TRUNCATED) | codeforces | cc-by-4.0 | code_contests | train | 7 | "import sys\n\nt = int(sys.stdin.readline())\nfor _ in range(t):\n n, m = map(int, sys.stdin.read(...TRUNCATED) | nvidia/OpenCodeReasoning | 95 | "The question involves a mathematical problem that requires logical reasoning and constraints simila(...TRUNCATED) | 2 | 6 | ["Okay, let's see. I need to find the maximum possible score that student 1 can have after adjusting(...TRUNCATED) | ["To solve this problem, we need to determine the highest possible score that the first student can (...TRUNCATED) | ["<think>\nOkay, let's see. I need to find the maximum possible score that student 1 can have after (...TRUNCATED) | [
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15"
] | "All solutions provided essentially implement the same logic, resulting in the same output, which is(...TRUNCATED) | ["<think>\nOkay, let's see. I need to find the maximum possible score that student 1 can have after (...TRUNCATED) | "<think>\nOkay, let's see. I need to find the maximum possible score that student 1 can have after a(...TRUNCATED) | [{"from":"human","value":"n students are taking an exam. The highest possible score at this exam is (...TRUNCATED) |
c3cc2633bfa653699f525a34b26f32dd | "Hongcow is learning to spell! One day, his teacher gives him a word that he needs to learn to spell(...TRUNCATED) | "<think>\nOkay, let's see. The problem is to find out how many distinct cyclic shifts a given string(...TRUNCATED) | codeforces | cc-by-4.0 | code_contests | train | interview | "s = input().strip()\nn = len(s)\nunique_shifts = set()\n\nfor k in range(n):\n rotated = s[-k:] (...TRUNCATED) | nvidia/OpenCodeReasoning | 95 | "This question is similar to the positive examples because it involves a combinatorial problem relat(...TRUNCATED) | 1 | 5 | ["Okay, let's see. The problem is about finding the number of distinct cyclic shifts of a given stri(...TRUNCATED) | ["To solve this problem, we need to determine the number of distinct cyclic shifts that can be gener(...TRUNCATED) | ["<think>\nOkay, let's see. The problem is about finding the number of distinct cyclic shifts of a g(...TRUNCATED) | [
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15"
] | "All solutions describe a similar method to count distinct cyclic shifts of a string and thus yield (...TRUNCATED) | ["<think>\nOkay, let's see. The problem is about finding the number of distinct cyclic shifts of a g(...TRUNCATED) | "<think>\nOkay, let's see. The problem is about cyclic shifts of a string and finding out how many d(...TRUNCATED) | [{"from":"human","value":"Hongcow is learning to spell! One day, his teacher gives him a word that h(...TRUNCATED) |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 4