Dataset Viewer
Auto-converted to Parquet Duplicate
year
int64
2.02k
2.02k
⌀
day
stringclasses
3 values
problem_name
stringclasses
37 values
problem_id
stringclasses
36 values
target_subtask
stringclasses
166 values
prompt
stringclasses
229 values
generation
stringlengths
3.02k
121k
⌀
uuid
stringlengths
36
36
⌀
metadata
dict
finish_reason
stringclasses
2 values
code
stringlengths
75
34.4k
⌀
code_compiles
bool
2 classes
target_subtask_score
float64
0
1
⌀
target_subtask_status
stringclasses
6 values
all_subtasks_points
float64
0
100
⌀
all_subtasks_results
listlengths
0
10
⌀
conversations
listlengths
2
2
problem
stringlengths
16
9.11k
⌀
deepseek_reasoning
stringlengths
708
115k
⌀
deepseek_solution
stringlengths
0
13.3k
⌀
ground_truth_solution
stringlengths
1
7.07k
⌀
domain
stringclasses
6 values
source
stringclasses
9 values
test_cases
stringlengths
33
79.2M
⌀
starter_code
stringlengths
0
1.47k
⌀
response
stringlengths
918
128k
⌀
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
[ { "from": "human", "value": "Given the equations\n\n$$\n\\begin{aligned}\na+b+c & = 0 \\\\\nA+B+C & = 0 \\\\\n\\frac{a}{A}+\\frac{b}{B}+\\frac{c}{C} & = 0\n\\end{aligned}\n$$\n\nWhat is the value of the expression\n\n$$\na A^{2} + b B^{2} + c C^{2}?\n$$" }, { "from": "gpt", "value": "<think>\nOk...
Given the equations $$ \begin{aligned} a+b+c & = 0 \\ A+B+C & = 0 \\ \frac{a}{A}+\frac{b}{B}+\frac{c}{C} & = 0 \end{aligned} $$ What is the value of the expression $$ a A^{2} + b B^{2} + c C^{2}? $$
Okay, so I need to find the value of the expression aA² + bB² + cC² given the three equations provided. Let me start by writing down the given equations again to make sure I have them right: 1. a + b + c = 0 2. A + B + C = 0 3. (a/A) + (b/B) + (c/C) = 0 And the expression we need to evaluate is aA² + bB² + cC². Hmm, ...
Given the equations: \[ \begin{aligned} a + b + c &= 0 \\ A + B + C &= 0 \\ \frac{a}{A} + \frac{b}{B} + \frac{c}{C} &= 0 \end{aligned} \] We need to find the value of \( aA^2 + bB^2 + cC^2 \). **Step-by-Step Solution:** 1. **Substitute \( c = -a - b \) and \( C = -A - B \):** From the first two equations, expres...
Given the following system of equations: \[ \begin{aligned} a + b + c &= 0 \\ A + B + C &= 0 \\ \frac{a}{A} + \frac{b}{B} + \frac{c}{C} &= 0 \end{aligned} \] We aim to find the value of the expression \(a A^2 + b B^2 + c C^2\). ### First Method: 1. Let \(X\) be the value of \(a A^2 + b B^2 + c C^2\). 2. From the s...
math
numina_math
null
null
<think> Okay, so I need to find the value of the expression aA² + bB² + cC² given the three equations provided. Let me start by writing down the given equations again to make sure I have them right: 1. a + b + c = 0 2. A + B + C = 0 3. (a/A) + (b/B) + (c/C) = 0 And the expression we need to evaluate is aA² + bB² + cC...
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
[ { "from": "human", "value": "In a plane, two rectangular coordinate systems \\( O x y \\) and \\( O' x' y' \\) are chosen such that the points \\( O \\) and \\( O' \\) do not coincide, the axis \\( O x \\) is not parallel to the axis \\( O' x' \\), and the units of length in these systems are different.\n\n...
In a plane, two rectangular coordinate systems \( O x y \) and \( O' x' y' \) are chosen such that the points \( O \) and \( O' \) do not coincide, the axis \( O x \) is not parallel to the axis \( O' x' \), and the units of length in these systems are different. Does there exist a point in the plane where both coordi...
Okay, let's try to figure out this problem. So, we have two rectangular coordinate systems in a plane: Oxy and O'x'y'. The origins O and O' are different, the axes Ox and O'x' aren't parallel, and the units of length are different in each system. The question is asking if there exists a point where the coordinates are ...
Given two rectangular coordinate systems \( Oxy \) and \( O'x'y' \) in a plane, where the origins \( O \) and \( O' \) do not coincide, the axes \( Ox \) and \( O'x' \) are not parallel, and the units of length are different, we need to determine if there exists a point where the coordinates are the same in both system...
Given the two rectangular coordinate systems \(Oxy\) and \(O'x'y'\) on a plane, we must determine whether there exists a point whose coordinates in both systems are identical. 1. **Understand the coordinate systems:** - Let \(Oxy\): - \(O\) is the origin. - \(Ox\) and \(Oy\) are the axes. ...
math
numina_math
null
null
<think> Okay, let's try to figure out this problem. So, we have two rectangular coordinate systems in a plane: Oxy and O'x'y'. The origins O and O' are different, the axes Ox and O'x' aren't parallel, and the units of length are different in each system. The question is asking if there exists a point where the coordina...
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
[ { "from": "human", "value": "\nIn the company, there are at least two people.\n\nIf there is at least one knight, there are \\( m \\) liars following each knight. However, everyone cannot be a liar, as in a group of \\( m \\) people following a liar, there is at least one knight.\n\nThe person number \\( m+...
In the company, there are at least two people. If there is at least one knight, there are \( m \) liars following each knight. However, everyone cannot be a liar, as in a group of \( m \) people following a liar, there is at least one knight. The person number \( m+1 \), following an arbitrary knight, is the one who...
Okay, let me try to figure out this problem step by step. The problem is about knights and liars in a company where there are at least two people. The rules given are a bit complex, so I need to parse them carefully. First, the problem states that if there is at least one knight, then there are m liars following each ...
The problem involves determining the number of knights in a company where each knight is followed by \( m \) liars, and the total number of people \( n \) must be structured such that not everyone can be liars. Key steps leading to the solution: 1. **Structure Analysis**: Each knight (K) must be followed by exactly ...
1. Consider a company with at least two people. This implies $n \geq 2$, where $n$ is the total number of people in the company. 2. If there is at least one knight in the company, each knight is followed by $m$ liars. This means there are groups of $m$ liars following each knight. 3. Since not everyone can be a liar, ...
math
numina_math
null
null
<think> Okay, let me try to figure out this problem step by step. The problem is about knights and liars in a company where there are at least two people. The rules given are a bit complex, so I need to parse them carefully. First, the problem states that if there is at least one knight, then there are m liars followi...
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
[{"from":"human","value":"Read problems statements in Mandarin Chinese and Russian. \n\nChef likes (...TRUNCATED)
"Read problems statements in Mandarin Chinese and Russian. \n\nChef likes to write poetry. Today, h(...TRUNCATED)
"Okay, let's try to figure out how to solve this problem. So the task is to determine for each test (...TRUNCATED)
"To solve this problem, we need to determine if Chef can buy a notebook that allows him to complete (...TRUNCATED)
null
code
taco
"{\"inputs\": [\"3\\n3 1 2 2\\n3 4\\n2 2 \\n3 1 2 2\\n2 3\\n2 3 \\n3 1 2 2\\n1 1\\n1 2\"], \"o(...TRUNCATED)
"<think>\nOkay, let's try to figure out how to solve this problem. So the task is to determine for e(...TRUNCATED)
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
[{"from":"human","value":"Euler's phi function for a positive integer N is usually denoted as φ(N) (...TRUNCATED)
"Euler's phi function for a positive integer N is usually denoted as φ(N) and defined as the number(...TRUNCATED)
"Okay, let's see. I need to solve this programming problem. Let's read the problem carefully.\n\nThe(...TRUNCATED)
"To solve this problem, we need to determine the minimum cost of ladders such that each participant'(...TRUNCATED)
null
code
code_contests
{"inputs": ["2\n4\n1 2 3 4\n2\n1 1\n\nSAMPLE"], "outputs": ["14\n2"]}
"<think>\nOkay, let's see. I need to solve this programming problem. Let's read the problem carefull(...TRUNCATED)
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
[{"from":"human","value":"Shil got an array of N integers as a present on his birthday. But he didn'(...TRUNCATED)
"Shil got an array of N integers as a present on his birthday. But he didn't liked it. Shil wants to(...TRUNCATED)
"Okay, let's try to figure out how to solve this problem. The problem is asking for the number of wa(...TRUNCATED)
"To solve this problem, we need to determine the number of ways to make an array beautiful such that(...TRUNCATED)
null
code
code_contests
"{\"inputs\": [\"5\\n1 4 3 2 5\\n\\nSAMPLE\", \"10000\\n9384 887 2778 6916 7794 8336 5387 493 6650 1(...TRUNCATED)
"<think>\nOkay, let's try to figure out how to solve this problem. The problem is asking for the num(...TRUNCATED)
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
[{"from":"human","value":"Show that if $ f(x)$ is a real-valued, continuous function on the half-l(...TRUNCATED)
"Show that if $ f(x)$ is a real-valued, continuous function on the half-line $ 0\\leq x < \\infty(...TRUNCATED)
"Okay, so I need to show that if f(x) is a real-valued, continuous function on [0, ∞) and the inte(...TRUNCATED)
"To show that if \\( f(x) \\) is a real-valued, continuous function on the half-line \\( 0 \\leq x <(...TRUNCATED)
"1. We start by noting that \\( f(x) \\) is a real-valued, continuous function on the half-line \\( (...TRUNCATED)
math
numina_math
null
null
"<think>\nOkay, so I need to show that if f(x) is a real-valued, continuous function on [0, ∞) and(...TRUNCATED)
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
[{"from":"human","value":"What are the prime numbers for which \\( p \\) divides \\( 29^{p} + 1 \\)?(...TRUNCATED)
What are the prime numbers for which \( p \) divides \( 29^{p} + 1 \)?
"Okay, let's try to figure out this problem: Find all prime numbers p such that p divides 29^p + 1. (...TRUNCATED)
"The prime numbers \\( p \\) that satisfy \\( p \\mid 29^p + 1 \\) are **2, 3, and 5**.\n\n**Step-by(...TRUNCATED)
"\n1. **Utiliser le petit théorème de Fermat:**\n\n Le petit théorème de Fermat stipule que po(...TRUNCATED)
math
numina_math
null
null
"<think>\nOkay, let's try to figure out this problem: Find all prime numbers p such that p divides 2(...TRUNCATED)
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
[{"from":"human","value":"You have a binary string S of length N. In one operation you can select a (...TRUNCATED)
"You have a binary string S of length N. In one operation you can select a substring of S and revers(...TRUNCATED)
"Okay, I need to find the minimum number of reverses of substrings required to sort a binary string.(...TRUNCATED)
"To solve this problem, we need to determine the minimum number of operations required to sort a bin(...TRUNCATED)
null
code
taco
"{\"inputs\": [\"4\\n3\\n000\\n4\\n1001\\n4\\n1010\\n6\\n010101\"], \"outputs\": [\"0\\n1\\n2\\n2\"](...TRUNCATED)
"<think>\nOkay, I need to find the minimum number of reverses of substrings required to sort a binar(...TRUNCATED)
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
[{"from":"human","value":"The diameter \\(A_{0} A_{5}\\) divides the circle centered at point \\(O\\(...TRUNCATED)
"The diameter \\(A_{0} A_{5}\\) divides the circle centered at point \\(O\\) into two semicircles. O(...TRUNCATED)
"Okay, so I need to prove that the sum of the lengths of segments \\(A_2 A_3\\) and \\(MN\\) is equa(...TRUNCATED)
"To prove that the sum of the lengths of segments \\(A_2 A_3\\) and \\(MN\\) is equal to the radius (...TRUNCATED)
"\n1. **Understanding the Given Information**:\n - We have a circle with center \\(O\\).\n - The(...TRUNCATED)
math
numina_math
null
null
"<think>\nOkay, so I need to prove that the sum of the lengths of segments \\(A_2 A_3\\) and \\(MN\\(...TRUNCATED)
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
27