Dataset Viewer
Auto-converted to Parquet Duplicate
problem
stringlengths
74
2.71k
answer
stringlengths
0
29
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
4
Find the number of ways to place a digit in each cell of a 2x3 grid so that the sum of the two numbers formed by reading left to right is $999$, and the sum of the three numbers formed by reading top to bottom is $99$. The grid below is an example of such an arrangement because $8+991=999$ and $9+9+81=99$. \[\begin{arr...
045
AIME24
24
3
The twelve letters $A$,$B$,$C$,$D$,$E$,$F$,$G$,$H$,$I$,$J$,$K$, and $L$ are randomly grouped into six pairs of letters. The two letters in each pair are placed next to each other in alphabetical order to form six two-letter words, and then those six words are listed alphabetically. For example, a possible result is $AB...
821
AIME25
37
2
Suppose $\triangle ABC$ has angles $\angle BAC = 84^\circ, \angle ABC=60^\circ,$ and $\angle ACB = 36^\circ.$ Let $D, E,$ and $F$ be the midpoints of sides $\overline{BC}, \overline{AC},$ and $\overline{AB},$ respectively. The circumcircle of $ riangle DEF$ intersects $\overline{BD}, \overline{AE},$ and $\overline{AF}$...
336
AIME25
50
1
Positive real numbers $x$ and $y$ satisfy $y^3=x^2$ and $(y-x)^2=4y^2$. What is $x+y$?
36
AMC23
62
5
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
4
For how many ordered pairs $(a,b)$ of integers does the polynomial $x^3+ax^2+bx+6$ have $3$ distinct integer roots?
5
AMC23
88
3
trans-cinnamaldehyde was treated with methylmagnesium bromide, forming product 1. 1 was treated with pyridinium chlorochromate, forming product 2. 3 was treated with (dimethyl(oxo)-l6-sulfaneylidene)methane in DMSO at elevated temperature, forming product 3. how many carbon atoms are there in product 3?
11
GPQADiamond
102
1
Which of the following symmetries must be respected by all operators in the SMEFT? 1. Lorentz Symmetry 2. Poincare symmetry 3. CP symmetry 4. CPT symmetry
1,2,4
GPQADiamond
166
1
Large clouds of neutral hydrogen in deep space absorb the light from background quasars at Lyman alpha wavelength ~1216 Angstrom. Estimate the lower limit on the redshift of this objects such that they can be detected with optical ground-based telescopes?
1.9
GPQADiamond
230
1
Consider a system of three spins S1, S2 and S3. Each of which can take spin +1 and -1. The energy of the system is given by, E= -J[ S1S2 +S1S3+S2S3 ]. Find the partition function Z of the system. (\beta = 1/kT , k= boltzmann constant and T= temperature)
Z= 2 e^(3J\beta)+6e^(-J\beta)
GPQADiamond
294
1
In a class of 50 students, 28 participate in MATHCOUNTS, 21 participate in science club, and 6 students participate in neither. How many students participate in both MATHCOUNTS and science club?
5
MATH500
358
1
In the diagram, $D$ and $E$ are the midpoints of $\overline{AB}$ and $\overline{BC}$ respectively. Determine the area of quadrilateral $DBEF$. [asy] size(180); defaultpen(linewidth(.7pt)+fontsize(10pt)); pair A, B, C, D, E, F; A=(0,6); B=(0,0); C=(8,0); D=(0,3); E=(4,0); F=(8/3,2); draw(E--A--C--D); draw((-1,0)--(10,0...
8
MATH500
422
1
Hillary has eleven coins, all dimes and nickels. In total, the coins are worth 75 cents. How many nickels does she have?
7
MATH500
486
1
Six cars pull up to a red light, one at a time. At the light, there are three lanes, one left-turn lane, one straight-going lane, and one right-turn lane. How many ways can the cars stack up so that all three lanes are occupied? Note that if the first car turns left and the second goes straight, this is considered dif...
540
MATH500
550
1
Positive integers $a$, $b$, and $2009$, with $a<b<2009$, form a geometric sequence with an integer ratio. What is $a$?
41
MATH500
614
1
The data in the table below shows the percent of bus riders in a survey of Central H.S. students; 300 males and 300 females in each grade were surveyed. For which grade is the number of its male bus riders closest to $135\%$ of the number of its female bus riders? \begin{tabular}{|l|c|c|}\hline Grade & Males & Females ...
12
MATH500
678
1
What is the integer value of $x$ in the arithmetic sequence $3^2, x, 3^4$?
45
MATH500
742
1
You are given a strip of paper $s$ that is $n$ cells long. Each cell is either black or white. In an operation you can take any $k$ consecutive cells and make them all white. Find the minimum number of operations needed to remove all black cells. Input The first line contains a single integer $t$ ($1 \leq t \leq 100...
LiveCodeBench
801
2
You are given a string s consisting only of uppercase English letters. You can apply some operations to this string where, in one operation, you can remove any occurrence of one of the substrings "AB" or "CD" from s. Return the minimum possible length of the resulting string that you can obtain. Note that the string co...
LiveCodeBench
822
3
You are given a 0-indexed integer array nums containing n distinct positive integers. A permutation of nums is called special if: For all indexes 0 <= i < n - 1, either nums[i] % nums[i+1] == 0 or nums[i+1] % nums[i] == 0. Return the total number of special permutations. As the answer could be large, return it modulo...
LiveCodeBench
844
1
You are given a string word and an array of strings forbidden. A string is called valid if none of its substrings are present in forbidden. Return the length of the longest valid substring of the string word. A substring is a contiguous sequence of characters in a string, possibly empty. Example 1: Input: word = "cb...
LiveCodeBench
865
2
You are given two strings s1 and s2, both of length 4, consisting of lowercase English letters. You can apply the following operation on any of the two strings any number of times: Choose any two indices i and j such that j - i = 2, then swap the two characters at those indices in the string. Return true if you can m...
LiveCodeBench
886
3
You are given a 0-indexed array of integers nums, and an integer target. Return the length of the longest subsequence of nums that sums up to target. If no such subsequence exists, return -1. A subsequence is an array that can be derived from another array by deleting some or no elements without changing the order of t...
LiveCodeBench
908
1
There are n balls on a table, each ball has a color black or white. You are given a 0-indexed binary string s of length n, where 1 and 0 represent black and white balls, respectively. In each step, you can choose two adjacent balls and swap them. Return the minimum number of steps to group all the black balls to the ri...
LiveCodeBench
929
2
You are given a 0-indexed integer array nums having length n. You are allowed to perform a special move any number of times (including zero) on nums. In one special move you perform the following steps in order: Choose an index i in the range [0, n - 1], and a positive integer x. Add |nums[i] - x| to the total cost. C...
LiveCodeBench
950
3
You are given a 0-indexed integer array nums of size n, and a 0-indexed integer array pattern of size m consisting of integers -1, 0, and 1. A subarray nums[i..j] of size m + 1 is said to match the pattern if the following conditions hold for each element pattern[k]: nums[i + k + 1] > nums[i + k] if pattern[k] == 1. n...
LiveCodeBench
972
1
We have a grid with H rows and W columns. Let (i,j) denote the square at the i-th row from the top and j-th column from the left. Each square in the grid is one of the following: the start square, the goal square, an empty square, a wall square, and a candy square. (i,j) is represented by a character A_{i,j}, and is...
LiveCodeBench
993
2
Takahashi keeps a sleep log. The log is represented as an odd-length sequence A=(A _ 1(=0), A _ 2,\ldots,A _ N), where odd-numbered elements represent times he got up, and even-numbered elements represent times he went to bed. More formally, he had the following sleep sessions after starting the sleep log. - For eve...
LiveCodeBench
1,014
3
There is a family consisting of person 1, person 2, \ldots, and person N. For i\geq 2, person i's parent is person p_i. They bought insurance M times. For i=1,2,\ldots,M, person x_i bought the i-th insurance, which covers that person and their descendants in the next y_i generations. How many people are covered by ...
LiveCodeBench
1,036
1
The number pi to the 100-th decimal place is 3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679. You are given an integer N between 1 and 100, inclusive. Print the value of pi to the N-th decimal place. More precisely, truncate the value of pi to N decimal places and ...
LiveCodeBench
1,057
2
You are given positive integers A and B. Print the value A^B+B^A. Input The input is given from Standard Input in the following format: A B Output Print the answer as an integer. Constraints - 2 \leq A \leq B \leq 9 - All input values are integers. Sample Input 1 2 8 Sample Output 1 320 For A = 2, B = 8, ...
LiveCodeBench
1,078
3
Takahashi sent a string T consisting of lowercase English letters to Aoki. As a result, Aoki received a string T' consisting of lowercase English letters. T' may have been altered from T. Specifically, exactly one of the following four conditions is known to hold. - T' is equal to T. - T' is a string obtained by inser...
LiveCodeBench
1,100
1
AtCoder Kingdom uses a calendar whose year has N months. Month i (1\leq i\leq N) has D _ i days, from day 1 of month i to day D _ i of month i. How many days in a year of AtCoder have "repdigits" dates? Here, day j of month i (1\leq i\leq N,1\leq j\leq D _ i) is said to have a repdigit date if and only if all digits in...
LiveCodeBench
1,121
2
AtCoder Inc. sells glasses and mugs. Takahashi has a glass with a capacity of G milliliters and a mug with a capacity of M milliliters. Here, G<M. Initially, both the glass and the mug are empty. After performing the following operation K times, determine how many milliliters of water are in the glass and the mug, resp...
LiveCodeBench
1,142
3
We define Extended A strings, Extended B strings, Extended C strings, and Extended ABC strings as follows: - A string S is an Extended A string if all characters in S are A. - A string S is an Extended B string if all characters in S are B. - A string S is an Extended C string if all characters in S are C. - A string ...
LiveCodeBench
1,164
1
There is a grid with H rows and W columns. Each cell of the grid is land or sea, which is represented by H strings S_1, S_2, \ldots, S_H of length W. Let (i, j) denote the cell at the i-th row from the top and j-th column from the left, and (i, j) is land if the j-th character of S_i is ., and (i, j) is sea if the char...
LiveCodeBench
1,185
2
You are given a string S of length N consisting of 0 and 1. A string T of length N consisting of 0 and 1 is a good string if and only if it satisfies the following condition: - There is exactly one integer i such that 1 \leq i \leq N - 1 and the i-th and (i + 1)-th characters of T are the same. For each i = 1,2,\ldot...
LiveCodeBench
1,206
3
You are given a permutation A=(A_1,\ldots,A_N) of (1,2,\ldots,N). Transform A into (1,2,\ldots,N) by performing the following operation between 0 and N-1 times, inclusive: - Operation: Choose any pair of integers (i,j) such that 1\leq i < j \leq N. Swap the elements at the i-th and j-th positions of A. It can be pro...
LiveCodeBench
1,228
1
Takahashi has N cards from the card game "AtCoder Magics." The i-th card will be called card i. Each card has two parameters: strength and cost. Card i has a strength of A_i and a cost of C_i. He does not like weak cards, so he will discard them. Specifically, he will repeat the following operation until it can no long...
LiveCodeBench
1,249
2
You are given a array points representing integer coordinates of some points on a 2D plane, where points[i] = [x_i, y_i]. The distance between two points is defined as their Manhattan distance. Return the minimum possible value for maximum distance between any two points by removing exactly one point. Example 1: Inp...
LiveCodeBench
1,270
3
You are given a string word of size n, and an integer k such that k divides n. In one operation, you can pick any two indices i and j, that are divisible by k, then replace the substring of length k starting at i with the substring of length k starting at j. That is, replace the substring word[i..i + k - 1] with the su...
LiveCodeBench
1,292
1
README.md exists but content is empty.
Downloads last month
6