Dataset Viewer
Auto-converted to Parquet Duplicate
problem
stringlengths
133
2.73k
answer
stringlengths
0
109
task
stringclasses
6 values
problem_number
int64
7
1.31k
set_number
int64
1
5
Let $\mathcal{B}$ be the set of rectangular boxes with surface area $54$ and volume $23$. Let $r$ be the radius of the smallest sphere that can contain each of the rectangular boxes that are elements of $\mathcal{B}$. The value of $r^2$ can be written as $\frac{p}{q}$, where $p$ and $q$ are relatively prime positive in...
721
AIME24
7
2
Let $\omega\neq 1$ be a 13th root of unity. Find the remainder when \[\prod_{k=0}^{12}(2-2\omega^k+\omega^{2k})\] is divided by 1000.
321
AIME24
20
1
In $\triangle ABC$ points $D$ and $E$ lie on $\overline{AB}$ so that $AD < AE < AB$, while points $F$ and $G$ lie on $\overline{AC}$ so that $AF < AG < AC$. Suppose $AD = 4$, $DE = 16$, $EB = 8$, $AF = 13$, $FG = 52$, and $GC = 26$. Let $M$ be the reflection of $D$ through $F$, and let $N$ be the reflection of $G$ thro...
588
AIME25
32
5
Let $N$ denote the number of ordered triples of positive integers $(a, b, c)$ such that $a, b, c \leq 3^6$ and $a^3 + b^3 + c^3$ is a multiple of $3^7$. Find the remainder when $N$ is divided by $1000$.
735
AIME25
45
4
Let the sequence of rationals $x_1,x_2,\dots$ be defined such that $x_1=\frac{25}{11}$ and\[x_{k+1}=\frac{1}{3}\left(x_k+\frac{1}{x_k}-1\right).\]$x_{2025}$ can be expressed as $ rac{m}{n}$ for relatively prime positive integers $m$ and $n$. Find the remainder when $m+n$ is divided by $1000$.
248
AIME25
58
3
Rows 1, 2, 3, 4, and 5 of a triangular array of integers are shown below. 1 1 1 1 3 1 1 5 5 1 1 7 11 7 1 Each row after the first row is formed by placing a 1 at each end of the row, and each interior entry is 1 greater than the sum of the two numbers diagonally above it in the previous row. What is the units digits of...
5
AMC23
71
2
In the $xy$-plane, a circle of radius $4$ with center on the positive $x$-axis is tangent to the $y$-axis at the origin, and a circle with radius $10$ with center on the positive $y$-axis is tangent to the $x$-axis at the origin. What is the slope of the line passing through the two points at which these circles inters...
7
AMC23
84
1
You are playing a game. A $2 \times 1$ rectangle covers two adjacent squares (oriented either horizontally or vertically) of a $3 \times 3$ grid of squares, but you are not told which two squares are covered. Your goal is to find at least one square that is covered by the rectangle. A "turn" consists of you guessing a ...
4
AMC23
96
5
A eukaryotic cell evolved a mechanism to turn macromolecular building blocks into energy. The process occurs in mitochondria, which are cellular energy factories. In the series of redox reactions, the energy from food is stored between the phosphate groups and used as a universal cellular currency. The energy-laden mol...
Differential centrifugation extraction of mitochondria followed by the Glucose Uptake Colorimetric Assay Kit
GPQADiamond
144
1
For a magnetic field \vec{B}, parallel to Oz, with small values of m (orbital magnetic quantum number) and B=1T, compare the order of magnitude of the paramagnetic coupling term with transition energy \Delta E of Hydrogen atom with wavelength \lambda=0.4861\mu m. PS: for the maths use an online LaTeX editor.
\left\langle H\right\rangle \ll\Delta E
GPQADiamond
208
1
Two stars are being studied. It has been observed that iron atoms in the photosphere of star_1 are twice as excited in a specific energy level when compared to the iron atoms in star_2. In fact, the energy difference between the considered energy levels was determined to be approximately 1.38 x 10^(-23) J. Assuming tha...
ln(2) = [ (T_1 - T_2) / (T1*T2)]
GPQADiamond
272
1
A regular pentagon is rotated counterclockwise about its center. What is the minimum number of degrees it must be rotated until it coincides with its original position?
72
MATH500
336
1
The equation \[x^{10}+(13x-1)^{10}=0\,\]has 10 complex roots $r_1,$ $\overline{r}_1,$ $r_2,$ $\overline{r}_2,$ $r_3,$ $\overline{r}_3,$ $r_4,$ $\overline{r}_4,$ $r_5,$ $\overline{r}_5,$ where the bar denotes complex conjugation. Find the value of \[\frac 1{r_1\overline{r}_1}+\frac 1{r_2\overline{r}_2}+\frac 1{r_3\overl...
850
MATH500
400
1
A bookcase has 3 shelves with a total of 24 books. The top shelf has 8 mystery books. The middle shelf has 10 math books. The bottom shelf has 6 science books. Two books are now taken off each shelf. What fraction of the books remaining on the three shelves are math books? Express your answer as a common fraction.
\frac{4}{9}
MATH500
464
1
Yann and Camille go to a restaurant. If there are 10 items on the menu, and each orders one dish, how many different combinations of meals can Yann and Camille order if they refuse to order the same dish? (It does matter who orders what---Yann ordering chicken and Camille ordering fish is different from Yann ordering ...
90
MATH500
528
1
Find all $p$ which satisfy both the inequalities $0\ge 54p-144$ and $0>12-20p$. Express your answer in interval notation, reducing any fractions in your answer.
\left(\frac{3}{5},\frac{8}{3}\right]
MATH500
592
1
I have a deck of $54$ cards, and I deal all of the cards to $x$ players, with each player getting $y$ cards. If $x$ is at least $2$ and $y$ is at least $5$, then how many possible values of $x$ are there?
4
MATH500
656
1
If $\arccos x + \arccos 2x + \arccos 3x = \pi,$ then $x$ satisfies a cubic polynomial of the form \[ax^3 + bx^2 + cx + d = 0,\]where $a,$ $b,$ $c,$ and $d$ are integers, and $a \neq 0.$ Find the smallest possible value of $|a| + |b| + |c| + |d|.$
27
MATH500
720
1
What is the shortest distance that can be travelled if you start at any point, $A$, $B$, $C$, or $D$, and visit the other three points once? [asy] pair A,B,C, D; A = (-3,3); B = (3,0); C = (0, -4); D = (0,0); draw(D--B--C--cycle); draw(D--A--B--cycle);draw(D--A--C--cycle); label("$A$", A, NW);label("$B$", B, E); label...
13
MATH500
784
1
You are given a 0-indexed array nums of length n. The distinct difference array of nums is an array diff of length n such that diff[i] is equal to the number of distinct elements in the suffix nums[i + 1, ..., n - 1] subtracted from the number of distinct elements in the prefix nums[0, ..., i]. Return the distinct diff...
LiveCodeBench
815
2
You are given a 0-indexed integer array nums and an integer k. A subarray is called equal if all of its elements are equal. Note that the empty subarray is an equal subarray. Return the length of the longest possible equal subarray after deleting at most k elements from nums. A subarray is a contiguous, possibly empty ...
LiveCodeBench
836
3
There are n employees in a company, numbered from 0 to n - 1. Each employee i has worked for hours[i] hours in the company. The company requires each employee to work for at least target hours. You are given a 0-indexed array of non-negative integers hours of length n and a non-negative integer target. Return the integ...
LiveCodeBench
858
1
You are given two 0-indexed integer arrays nums1 and nums2 of equal length. Every second, for all indices 0 <= i < nums1.length, value of nums1[i] is incremented by nums2[i]. After this is done, you can do the following operation: Choose an index 0 <= i < nums1.length and make nums1[i] = 0. You are also given an inte...
LiveCodeBench
879
2
You are given a 1-indexed array nums of n integers. A set of numbers is complete if the product of every pair of its elements is a perfect square. For a subset of the indices set {1, 2, ..., n} represented as {i_1, i_2, ..., i_k}, we define its element-sum as: nums[i_1] + nums[i_2] + ... + nums[i_k]. Return the maximum...
LiveCodeBench
900
3
You are given a 0-indexed integer array nums, and an integer k. The K-or of nums is a non-negative integer that satisfies the following: The i^th bit is set in the K-or if and only if there are at least k elements of nums in which bit i is set. Return the K-or of nums. Note that a bit i is set in x if (2^i AND x) ==...
LiveCodeBench
922
1
You are given a 0-indexed array mountain. Your task is to find all the peaks in the mountain array. Return an array that consists of indices of peaks in the given array in any order. Notes: A peak is defined as an element that is strictly greater than its neighboring elements. The first and last elements of the array ...
LiveCodeBench
943
2
You are given a 0-indexed integer array nums and a positive integer k. You can apply the following operation on the array any number of times: Choose any element of the array and flip a bit in its binary representation. Flipping a bit means changing a 0 to 1 or vice versa. Return the minimum number of operations requ...
LiveCodeBench
964
3
You are given two arrays with positive integers arr1 and arr2. A prefix of a positive integer is an integer formed by one or more of its digits, starting from its leftmost digit. For example, 123 is a prefix of the integer 12345, while 234 is not. A common prefix of two integers a and b is an integer c, such that c is ...
LiveCodeBench
986
1
You are given an integer N. Print an approximation of N according to the following instructions. - If N is less than or equal to 10^3-1, print N as it is. - If N is between 10^3 and 10^4-1, inclusive, truncate the ones digit of N and print the result. - If N is between 10^4 and 10^5-1, inclusive, truncate the tens di...
LiveCodeBench
1,007
2
N people numbered 1 through N tossed a coin several times. We know that person i's tosses resulted in A_i heads and B_i tails. Person i's success rate of the tosses is defined by \displaystyle\frac{A_i}{A_i+B_i}. Sort people 1,\ldots,N in descending order of their success rates, with ties broken in ascending order of...
LiveCodeBench
1,028
3
There are N sellers and M buyers in an apple market. The i-th seller may sell an apple for A_i yen or more (yen is the currency in Japan). The i-th buyer may buy an apple for B_i yen or less. Find the minimum integer X that satisfies the following condition. Condition: The number of people who may sell an apple for X y...
LiveCodeBench
1,050
1
Takahashi is planning an N-day train trip. For each day, he can pay the regular fare or use a one-day pass. Here, for 1\leq i\leq N, the regular fare for the i-th day of the trip is F_i yen. On the other hand, a batch of D one-day passes is sold for P yen. You can buy as many passes as you want, but only in units of D....
LiveCodeBench
1,071
2
AtCoder Inc. is planning to develop a product. The product has K parameters, whose values are currently all zero. The company aims to raise all parameter values to at least P. There are N development plans. Executing the i-th development plan (1 \le i \le N) increases the value of the j-th parameter by A_{i,j} for ever...
LiveCodeBench
1,092
3
Aoki, an employee at AtCoder Inc., has his salary for this month determined by an integer N and a sequence A of length N as follows. First, he is given an N-sided die (dice) that shows the integers from 1 to N with equal probability, and a variable x=0. Then, the following steps are repeated until terminated. - Roll ...
LiveCodeBench
1,114
1
You are given a sequence A=(A_1,A_2,\dots,A_N) of length N. Respond to the following Q queries in the order they are given. The k-th query is given in the following format: i_k x_k - First, change A_{i_k} to x_k. This change will carry over to subsequent queries. - Then, print the \rm{mex} of A. - The \rm{mex} of A...
LiveCodeBench
1,135
2
You are given an integer N. Print all triples of non-negative integers (x,y,z) such that x+y+z\leq N in ascending lexicographical order. What is lexicographical order for non-negative integer triples? A triple of non-negative integers (x,y,z) is said to be lexicographically smaller than (x',y',z') if and only if one...
LiveCodeBench
1,156
3
Print an arithmetic sequence with first term A, last term B, and common difference D. You are only given inputs for which such an arithmetic sequence exists. Input The input is given from Standard Input in the following format: A B D Output Print the terms of the arithmetic sequence with first term A, last term B, ...
LiveCodeBench
1,178
1
You initially have an empty string S. Additionally, there are bags 1, 2, \dots, N, each containing some strings. Bag i contains A_i strings S_{i,1}, S_{i,2}, \dots, S_{i,A_i}. You will repeat the following steps for i = 1, 2, \dots, N: - Choose and perform one of the following two actions: - Pay 1 yen, select exactl...
LiveCodeBench
1,199
2
A string T of length 3 consisting of uppercase English letters is an airport code for a string S of lowercase English letters if and only if T can be derived from S by one of the following methods: - Take a subsequence of length 3 from S (not necessarily contiguous) and convert it to uppercase letters to form T. - Tak...
LiveCodeBench
1,220
3
The AtCoder amusement park has an attraction that can accommodate K people. Now, there are N groups lined up in the queue for this attraction. The i-th group from the front (1\leq i\leq N) consists of A_i people. For all i (1\leq i\leq N), it holds that A_i \leq K. Takahashi, as a staff member of this attraction, will ...
LiveCodeBench
1,242
1
You are given a binary array nums of length n, a positive integer k and a non-negative integer maxChanges. Alice plays a game, where the goal is for Alice to pick up k ones from nums using the minimum number of moves. When the game starts, Alice picks up any index aliceIndex in the range [0, n - 1] and stands there. If...
LiveCodeBench
1,263
2
You are given an integer array nums of length n, and a positive integer k. The power of a subsequence is defined as the minimum absolute difference between any two elements in the subsequence. Return the sum of powers of all subsequences of nums which have length equal to k. Since the answer may be large, return it mod...
LiveCodeBench
1,284
3
Given a string s, you need to partition it into one or more balanced substrings. For example, if s == "ababcc" then ("abab", "c", "c"), ("ab", "abc", "c"), and ("ababcc") are all valid partitions, but ("a", "bab", "cc"), ("aba", "bc", "c"), and ("ab", "abcc") are not. The unbalanced substrings are bolded. Return the mi...
LiveCodeBench
1,306
1
README.md exists but content is empty.
Downloads last month
6