Dataset Viewer
Auto-converted to Parquet Duplicate
problem
stringlengths
35
2.48k
answer
stringlengths
0
46
task
stringclasses
6 values
problem_number
int64
11
1.29k
set_number
int64
1
5
Rectangles $ABCD$ and $EFGH$ are drawn such that $D,E,C,F$ are collinear. Also, $A,D,H,G$ all lie on a circle. If $BC=16$,$AB=107$,$FG=17$, and $EF=184$, what is the length of $CE$?
104
AIME24
11
1
A list of positive integers has the following properties: $\bullet$ The sum of the items in the list is $30$. $\bullet$ The unique mode of the list is $9$. $\bullet$ The median of the list is a positive integer that does not appear in the list itself. Find the sum of the squares of all the items in the list.
236
AIME24
23
5
An isosceles trapezoid has an inscribed circle tangent to each of its four sides. The radius of the circle is $3$, and the area of the trapezoid is $72$. Let the parallel sides of the trapezoid have lengths $r$ and $s$, with $r \neq s$. Find $r^2+s^2$
504
AIME25
36
4
The product\[\prod^{63}_{k=4} rac{\log_k (5^{k^2 - 1})}{\log_{k + 1} (5^{k^2 - 4})} = rac{\log_4 (5^{15})}{\log_5 (5^{12})} \cdot rac{\log_5 (5^{24})}{\log_6 (5^{21})}\cdot rac{\log_6 (5^{35})}{\log_7 (5^{32})} \cdots rac{\log_{63} (5^{3968})}{\log_{64} (5^{3965})}\]is equal to $\tfrac mn,$ where $m$ and $n$ are r...
106
AIME25
49
3
Positive real numbers $x$ and $y$ satisfy $y^3=x^2$ and $(y-x)^2=4y^2$. What is $x+y$?
36
AMC23
62
2
Let $K$ be the number of sequences $A_1$, $A_2$, $\dots$, $A_n$ such that $n$ is a positive integer less than or equal to $10$, each $A_i$ is a subset of $\{1, 2, 3, \dots, 10\}$, and $A_{i-1}$ is a subset of $A_i$ for each $i$ between $2$ and $n$, inclusive. For example, $\{\}$, $\{5, 7\}$, $\{2, 5, 7\}$, $\{2, 5, 7\}...
5
AMC23
75
1
A rectangular box $P$ has distinct edge lengths $a$, $b$, and $c$. The sum of the lengths of all $12$ edges of $P$ is $13$, the areas of all $6$ faces of $P$ is $\frac{11}{2}$, and the volume of $P$ is $\frac{1}{2}$. Find the length of the longest interior diagonal connecting two vertices of $P$. The final answer can b...
13
AMC23
87
5
What is the area of the region in the coordinate plane defined by $| | x | - 1 | + | | y | - 1 | \le 1$?
8
AMC23
100
4
Let there be a diatomic molecule, with elements X and Y, that can be modeled using the quantum rotation-vibration model (or non-rigid rotor model). If the molecule is in its fundamental state, what momentum should an absorbed photon have, in order for the molecule to switch to the next state with the lowest possible en...
p = 1.4*10^(-28) N*s
GPQADiamond
163
1
Which of the following molecules is formed when 5-butylnona-2,6-diene is heated?
4-ethyl-3-methyldeca-1,5-diene
GPQADiamond
227
1
3-(hydroxymethyl)-5-(prop-1-en-2-yl)cyclohexan-1-one is treated with sodium hydride, followed by benzyl bromide, forming product 1. 1 is treated with p-toluenesulfonyl hydrazide in the presence of a catalytic amount of HCl, forming product 2. 2 is treated at low temperature with n-butyllithium, followed by aqueous am...
(3-isopropylcyclohexyl)methanol
GPQADiamond
291
1
The sum of the first $N$ positive odd numbers is 121. What is the value of $N$?
11
MATH500
355
1
Let $f(x)$ be an odd function, and let $g(x)$ be an even function. Is $f(f(g(f(g(f(x))))))$ even, odd, or neither? Enter "odd", "even", or "neither".
\text{even}
MATH500
419
1
Let $a,$ $b,$ and $c$ be positive real numbers. Find the set of all possible values of \[\frac{c}{a} + \frac{a}{b + c} + \frac{b}{c}.\]
(2,\infty)
MATH500
483
1
Given \[\mathbf{A} = \begin{pmatrix} 3 & 7 \\ -1 & -2 \end{pmatrix},\]compute $\mathbf{A}^{27} + \mathbf{A}^{31} + \mathbf{A}^{40}.$
\begin{pmatrix} -1 & 0 \\ 0 & -1 \end{pmatrix}
MATH500
547
1
Solve \[\frac{1}{x - 5} > 0.\]Enter your answer using interval notation.
(5,\infty)
MATH500
611
1
Determine the coordinates of the point $P$ on the line $y=-x+6$ such that $P$ is equidistant from the points $A(10,-10)$ and $O(0,0)$ (that is, so that $PA=PO$). Express your answer as an ordered pair $(a,b)$.
(8,-2)
MATH500
675
1
Simplify $(u+4)(u-1) - (u-3)(u+6)$.
14
MATH500
739
1
Slavic is preparing a present for a friend's birthday. He has an array $a$ of $n$ digits and the present will be the product of all these digits. Because Slavic is a good kid who wants to make the biggest product possible, he wants to add $1$ to exactly one of his digits. What is the maximum product Slavic can make? ...
LiveCodeBench
800
2
A 0-indexed array derived with length n is derived by computing the bitwise XOR (⊕) of adjacent values in a binary array original of length n. Specifically, for each index i in the range [0, n - 1]: If i = n - 1, then derived[i] = original[i] ⊕ original[0]. Otherwise, derived[i] = original[i] ⊕ original[i + 1]. Given...
LiveCodeBench
821
3
You are given a 0-indexed array words consisting of distinct strings. The string words[i] can be paired with the string words[j] if: The string words[i] is equal to the reversed string of words[j]. 0 <= i < j < words.length. Return the maximum number of pairs that can be formed from the array words. Note that each st...
LiveCodeBench
843
1
Given a binary string s, partition the string into one or more substrings such that each substring is beautiful. A string is beautiful if: It doesn't contain leading zeros. It's the binary representation of a number that is a power of 5. Return the minimum number of substrings in such partition. If it is impossible t...
LiveCodeBench
864
2
You are given two positive integers low and high. An integer x consisting of 2 * n digits is symmetric if the sum of the first n digits of x is equal to the sum of the last n digits of x. Numbers with an odd number of digits are never symmetric. Return the number of symmetric integers in the range [low, high]. Exampl...
LiveCodeBench
885
3
You are given a 0-indexed integer array nums of length n where n is the total number of students in the class. The class teacher tries to select a group of students so that all the students remain happy. The i^th student will become happy if one of these two conditions is met: The student is selected and the total num...
LiveCodeBench
907
1
You are given a 0-indexed array of strings words and a character x. Return an array of indices representing the words that contain the character x. Note that the returned array may be in any order. Example 1: Input: words = ["leet","code"], x = "e" Output: [0,1] Explanation: "e" occurs in both words: "leet", and "co...
LiveCodeBench
928
2
You are given two 0-indexed integer arrays nums1 and nums2 of even length n. You must remove n / 2 elements from nums1 and n / 2 elements from nums2. After the removals, you insert the remaining elements of nums1 and nums2 into a set s. Return the maximum possible size of the set s. Example 1: Input: nums1 = [1,2,1,...
LiveCodeBench
949
3
You are given a string s that consists of lowercase English letters. A string is called special if it is made up of only a single character. For example, the string "abc" is not special, whereas the strings "ddd", "zz", and "f" are special. Return the length of the longest special substring of s which occurs at least t...
LiveCodeBench
971
1
You are given an integer N and a string S consisting of 0, 1, and ?. Let T be the set of values that can be obtained by replacing each ? in S with 0 or 1 and interpreting the result as a binary integer. For instance, if S= ?0?, we have T=\lbrace 000_{(2)},001_{(2)},100_{(2)},101_{(2)}\rbrace=\lbrace 0,1,4,5\rbrace. Pri...
LiveCodeBench
992
2
There is a grid with H rows and W columns. Let (i, j) denote the square at the i-th row from the top and the j-th column from the left. Initially, there was one cookie on each square inside a rectangle whose height and width were at least 2 squares long, and no cookie on the other squares. Formally, there was exactly...
LiveCodeBench
1,013
3
We have an undirected graph with (N_1+N_2) vertices and M edges. For i=1,2,\ldots,M, the i-th edge connects vertex a_i and vertex b_i. The following properties are guaranteed: - Vertex u and vertex v are connected, for all integers u and v with 1 \leq u,v \leq N_1. - Vertex u and vertex v are connected, for all inte...
LiveCodeBench
1,035
1
You are given an integer sequence A=(A_1,A_2,\dots,A_N). You can perform the following operation any number of times (possibly zero). - Choose integers i and j with 1\leq i,j \leq N. Decrease A_i by one and increase A_j by one. Find the minimum number of operations required to make the difference between the minimu...
LiveCodeBench
1,056
2
Takahashi is initially at his house and is about to visit Aoki's house. There are N bus stops numbered 1 to N between the two houses, and Takahashi can move between them in the following ways: - He can walk from his house to bus stop 1 in X units of time. - For each i = 1, 2, \ldots, N-1, a bus departs from bus stop i...
LiveCodeBench
1,077
3
You are given a positive integer N. If there are integers x and y such that N=2^x3^y, print Yes; otherwise, print No. Input The input is given from Standard Input in the following format: N Output Print a single line containing Yes if there are integers x and y that satisfy the condition, and No otherwise. Constr...
LiveCodeBench
1,099
1
There is a programming contest with N problems. For each i = 1, 2, \ldots, N, the score for the i-th problem is S_i. Print the total score for all problems with a score of X or less. Input The input is given from Standard Input in the following format: N X S_1 S_2 \ldots S_N Output Print the answer. Constraints ...
LiveCodeBench
1,120
2
AtCoder Inc. sells merchandise through its online shop. Takahashi has decided to purchase N types of products from there. For each integer i from 1 to N, the i-th type of product has a price of P_i yen each, and he will buy Q_i of this. Additionally, he must pay a shipping fee. The shipping fee is 0 yen if the total pr...
LiveCodeBench
1,141
3
Team Takahashi and Team Aoki played N matches. In the i-th match (1\leq i\leq N), Team Takahashi scored X _ i points, and Team Aoki scored Y _ i points. The team with the higher total score from the N matches wins. Print the winner. If the two teams have the same total score, it is a draw. Input The input is given ...
LiveCodeBench
1,163
1
There are N countries numbered 1 to N. For each i = 1, 2, \ldots, N, Takahashi has A_i units of the currency of country i. Takahashi can repeat the following operation any number of times, possibly zero: - First, choose an integer i between 1 and N-1, inclusive. - Then, if Takahashi has at least S_i units of the curre...
LiveCodeBench
1,184
2
Given an integer X between -10^{18} and 10^{18}, inclusive, print \left\lceil \dfrac{X}{10} \right\rceil. Here, \left\lceil a \right\rceil denotes the smallest integer not less than a. Input The input is given from Standard Input in the following format: X Output Print \left\lceil \dfrac{X}{10} \right\rceil as an ...
LiveCodeBench
1,205
3
Takahashi has N teeth, one in each of the holes numbered 1, 2, \dots, N. Dentist Aoki will perform Q treatments on these teeth and holes. In the i-th treatment, hole T_i is treated as follows: - If there is a tooth in hole T_i, remove the tooth from hole T_i. - If there is no tooth in hole T_i (i.e., the hole is emp...
LiveCodeBench
1,227
1
Takahashi and Aoki are playing a game using N cards. The front side of the i-th card has A_i written on it, and the back side has B_i written on it. Initially, the N cards are laid out on the table. With Takahashi going first, the two players take turns performing the following operation: - Choose a pair of cards from...
LiveCodeBench
1,248
2
You are given a binary array nums. We call a subarray alternating if no two adjacent elements in the subarray have the same value. Return the number of alternating subarrays in nums. Example 1: Input: nums = [0,1,1,1] Output: 5 Explanation: The following subarrays are alternating: [0], [1], [1], [1], and [0,1]. Exa...
LiveCodeBench
1,269
3
A word is considered valid if: It contains a minimum of 3 characters. It contains only digits (0-9), and English letters (uppercase and lowercase). It includes at least one vowel. It includes at least one consonant. You are given a string word. Return true if word is valid, otherwise, return false. Notes: 'a', 'e', ...
LiveCodeBench
1,291
1
README.md exists but content is empty.
Downloads last month
6