Dataset Viewer
Auto-converted to Parquet Duplicate
conversations
listlengths
2
2
type
stringclasses
2 values
problem
stringlengths
16
8.21k
deepseek_reasoning
stringlengths
832
114k
deepseek_solution
stringlengths
0
12.1k
ground_truth_solution
stringlengths
1
8.33k
domain
stringclasses
6 values
source
stringclasses
9 values
test_cases
stringlengths
33
43.9M
starter_code
stringlengths
0
1.47k
final_reasoning_trace
stringlengths
1.25k
120k
[ { "from": "human", "value": "You are presented with the quiz \"What does condensation cause?\" But you don't know the answer, so you turn to your teacher to ask for hints. He says that \"condensation causes clouds to form\" and \"clouds bring rain and shade\". So, what's the best answer to the question?...
chat
null
null
null
null
null
null
null
null
null
[ { "from": "human", "value": "Can you provide a solution for a function that concatenates three strings in a specific order?" }, { "from": "gpt", "value": "**Concatenating Three Strings in a Specific Order**\n======================================================\n\nBelow is a simple, readable, a...
chat
null
null
null
null
null
null
null
null
null
[ { "from": "human", "value": "James builds a 20 story building. The first 10 stories are each 12 feet tall each. The remaining floors are each 3 feet taller. How tall is the building?" }, { "from": "gpt", "value": "## Step 1: Calculate the total height of the first 10 stories.\nThe first 10 st...
chat
null
null
null
null
null
null
null
null
null
[ { "from": "human", "value": "Sereja loves number sequences very much. That's why he decided to make himself a new one following a certain algorithm.\n\nSereja takes a blank piece of paper. Then he starts writing out the sequence in m stages. Each time he either adds a new number to the end of the sequence o...
reasoning
Sereja loves number sequences very much. That's why he decided to make himself a new one following a certain algorithm. Sereja takes a blank piece of paper. Then he starts writing out the sequence in m stages. Each time he either adds a new number to the end of the sequence or takes l first elements of the current seq...
Okay, let's see. We need to solve this problem where Sereja builds a sequence through m stages, and then answer n queries about the elements in the final sequence. The challenge is to handle the stages efficiently, especially the type 2 operations which can exponentially grow the sequence's length. Directly simulating ...
To solve this problem, we need to determine the elements of a sequence built through a series of operations. Directly simulating the sequence is infeasible due to potential exponential growth from copy operations. Instead, we use a backtracking approach to efficiently determine the value at any given position without c...
null
code
code_contests
{"inputs": ["6\n1 1\n1 2\n2 2 1\n1 3\n2 5 2\n1 4\n16\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16\n", "1\n1 1\n1\n1\n", "7\n1 53989\n1 47249\n1 71935\n2 1 3\n1 84520\n1 84185\n2 6 1\n14\n1 2 3 4 5 6 7 8 9 10 11 12 13 14\n", "2\n1 33085\n1 44638\n2\n1 2\n", "3\n1 97601\n1 32580\n1 70519\n3\n1 2 3\n", "10\n1 57757\n1 45234\n1...
<think> Okay, let's see. We need to solve this problem where Sereja builds a sequence through m stages, and then answer n queries about the elements in the final sequence. The challenge is to handle the stages efficiently, especially the type 2 operations which can exponentially grow the sequence's length. Directly sim...
[ { "from": "human", "value": "In a given circle, two equal parallel chords are drawn, and the distance between them is equal to the radius of the circle. Find the acute angle between the lines connecting the ends of the chords." }, { "from": "gpt", "value": "<think>\nOkay, let's see. I need to fi...
reasoning
In a given circle, two equal parallel chords are drawn, and the distance between them is equal to the radius of the circle. Find the acute angle between the lines connecting the ends of the chords.
Okay, let's see. I need to find the acute angle between the lines connecting the ends of two equal parallel chords in a circle, where the distance between the chords is equal to the radius. Hmm, okay, let me start by visualizing the problem. First, imagine a circle. Let me draw it mentally. There are two equal paralle...
Given a circle with radius \( r \), two equal parallel chords are drawn such that the distance between them is equal to the radius \( r \). We need to find the acute angle between the lines connecting the ends of the chords. 1. **Distance from Center to Each Chord**: - Since the distance between the chords is \( r ...
1. Let's denote the two equal parallel chords by \( AB \) and \( A_1 B_1 \). 2. Imagine a circle with center \( O \) and radius \( R \). Draw a line through \( O \) which is perpendicular to chord \( AB \). This line will also be perpendicular to chord \( A_1 B_1 \) due to the parallel nature of the chords. 3. Let \...
math
numina_math
null
null
<think> Okay, let's see. I need to find the acute angle between the lines connecting the ends of two equal parallel chords in a circle, where the distance between the chords is equal to the radius. Hmm, okay, let me start by visualizing the problem. First, imagine a circle. Let me draw it mentally. There are two equal...
[ { "from": "human", "value": "Edward Sims was born in 1892. He was the fifth child and only son of Herbert and Dora Sims. Herbert was a blacksmith , and had a thriving trade making horseshoes. He was determined that his first-born son would follow him into the blacksmith. For this reason, Edward had to leave...
chat
null
null
null
null
null
null
null
null
null
[ { "from": "human", "value": "This year a flood devastated a small river town. Hollyville, also a river town, responded with an outpouring of aid in which a majority of its residents participated, a proportion that far surpassed that of a few years ago when Hollyville sent aid to victims of a highly publiciz...
chat
null
null
null
null
null
null
null
null
null
[{"from":"human","value":"There are three $a$s, four $b$s, and two $c$s. Using these nine letters to(...TRUNCATED)
reasoning
"There are three $a$s, four $b$s, and two $c$s. Using these nine letters to form a permutation, if t(...TRUNCATED)
"Okay, let's see. The problem is: we have three a's, four b's, and two c's. We need to find the numb(...TRUNCATED)
"To solve the problem of finding the number of permutations of three \\(a\\)s, four \\(b\\)s, and tw(...TRUNCATED)
"\nWe start by defining the sets and the total arrangements.\n\n1. **Define Sets**:\n Let \\( I \\(...TRUNCATED)
math
numina_math
null
null
"<think>\nOkay, let's see. The problem is: we have three a's, four b's, and two c's. We need to find(...TRUNCATED)
[{"from":"human","value":"What conditions (specific temperature, concentration of nitric acid, react(...TRUNCATED)
reasoning
"What conditions (specific temperature, concentration of nitric acid, reaction time) are required fo(...TRUNCATED)
"Okay, so I need to figure out the conditions required to efficiently synthesize 2,4,6-trinitrotolue(...TRUNCATED)
"The efficient synthesis of 2,4,6-trinitrotoluene (TNT) from toluene involves a three-step nitration(...TRUNCATED)
null
chemistry
camelai_chemistry
null
null
"<think>\nOkay, so I need to figure out the conditions required to efficiently synthesize 2,4,6-trin(...TRUNCATED)
[{"from":"human","value":"You are given a sequence with N integers: A = \\\\{ A_1, A_2, \\cdots, A_N(...TRUNCATED)
reasoning
"You are given a sequence with N integers: A = \\\\{ A_1, A_2, \\cdots, A_N \\\\}. For each of these(...TRUNCATED)
"Okay, I need to solve this problem where I have to find the minimum number of colors required to pa(...TRUNCATED)
"To solve this problem, we need to determine the minimum number of colors required to paint a sequen(...TRUNCATED)
null
code
code_contests
"{\"inputs\": [\"4\\n0\\n0\\n0\\n0\", \"5\\n2\\n1\\n4\\n5\\n3\", \"4\\n0\\n-1\\n0\\n0\", \"4\\n1\\n0(...TRUNCATED)
"<think>\nOkay, I need to solve this problem where I have to find the minimum number of colors requi(...TRUNCATED)
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
2