messages
listlengths
2
2
domain
stringclasses
4 values
category
stringclasses
96 values
source
stringclasses
12 values
tokens_total
int64
49
81.6k
tokens_think
int64
10
79.7k
[ { "content": "When the curtains are opened, a canvas unfolds outside. Kanno marvels at all the blonde colours along the riverside — not tangerines, but blossoms instead.\n\n\"What a pity it's already late spring,\" sighs Mino with regret, \"one more drizzling night and they'd be gone.\"\n\n\"But these blends ar...
code
-
Modotte/CodeX-2M-Thinking
3,073
2,131
[ { "content": "Word s of length n is called k-complete if \n\n * s is a palindrome, i.e. s_i=s_{n+1-i} for all 1 ≤ i ≤ n; \n * s has a period of k, i.e. s_i=s_{k+i} for all 1 ≤ i ≤ n-k. \n\nFor example, \"abaaba\" is a 3-complete word, while \"abccba\" is not.\n\nBob is given a word s of length n consisting of...
code
-
Modotte/CodeX-2M-Thinking
3,005
2,004
[ { "content": "What is the value of the sum of the sixth powers of the solutions of the equation $x^{6}-16 x^{4}+16 x^{2}-1=0$?\n(A) 6375\n(B) 6482\n(C) 6515\n(D) 6660\n(E) 6662.", "role": "user" }, { "content": "<think>\nWe need to find the sum of the sixth powers of all solutions of $x^6 - 16x^4 + ...
math
-
open-r1/OpenR1-Math-220k
660
371
[ { "content": "A car travels at 60 miles per hour for 30 minutes, then at 40 miles per hour for 15 minutes. What is the average speed for the entire trip in miles per hour?", "role": "user" }, { "content": "<think>\nI need to find the average speed for the entire trip.\n\nAverage speed = Total distan...
logic
logic_puzzle
ianncity/GLM-5.2-Logic-Puzzles
364
121
[ { "content": "I have 6 shirts, 6 pairs of pants, and 6 hats. Each item comes in the same 6 colors (so that I have one of each item of each color). I refuse to wear an outfit in which all 3 items are the same color. How many choices for outfits do I have?", "role": "user" }, { "content": "<think>\...
math
-
nvidia/OpenMathReasoning
336
139
[ { "content": "Create a function that differentiates a polynomial for a given value of `x`.\n\nYour function will receive 2 arguments: a polynomial as a string, and a point to evaluate the equation as an integer.\n\n## Assumptions:\n\n* There will be a coefficient near each `x`, unless the coefficient equals `1`...
code
-
Modotte/CodeX-2M-Thinking
1,868
1,096
[ { "content": "A lot of frogs want to cross a river. A river is $w$ units width, but frogs can only jump $l$ units long, where $l < w$. Frogs can also jump on lengths shorter than $l$. but can't jump longer. Hopefully, there are some stones in the river to help them.\n\nThe stones are located at integer distance...
code
python
GetSoloTech/Code-Reasoning
11,701
10,730
[ { "content": "You are given an n × m rectangular table consisting of lower case English letters. In one operation you can completely remove one column from the table. The remaining parts are combined forming a new table. For example, after removing the second column from the table\n\nabcd\n\nedfg\n\nhijk\n\n \n...
code
cpp
GetSoloTech/Code-Reasoning
2,733
1,798
[ { "content": "I was born on February 29, 1996. If I just celebrated my 10th birthday, what is the current year?", "role": "user" }, { "content": "<think>\nThe user says they were born on February 29, 1996. They say they \"just celebrated my 10th birthday.\" Let me figure out what year that would be....
logic
logic_puzzle
ianncity/GLM-5.2-Logic-Puzzles
316
200
[ { "content": "Write a MySQL query to select all employees who are 30 years old or above, have a salary higher than the average salary of their department, have been with the company for at least 5 years, and have received at least one promotion during their tenure. #Reasoning Steps# 1. Get the current date. 2....
code
-
ianncity/Hunter-Alpha-Programming-160000x
2,028
760
[ { "content": "A subscription service charges customers exactly every 28 days. How many times will a customer be charged in a standard calendar year?", "role": "user" }, { "content": "<think>\nThe question asks how many times a customer will be charged in a standard calendar year if they are charged ...
logic
logic_puzzle
ianncity/GLM-5.2-Logic-Puzzles
837
724
[ { "content": "Create a code to save the first 100 prime numbers that are greater than 1,000,000 in a dynamically allocated array.", "role": "user" }, { "content": "<think>\nThe user wants code that:\n1. Finds the first 100 prime numbers greater than 1,000,000\n2. Stores them in a dynamically allocat...
code
-
ianncity/Hunter-Alpha-Programming-160000x
1,215
576
[ { "content": "The following paragraphs each describe a set of seven objects arranged in a fixed order. The statements are logically consistent within each paragraph. In an antique car show, there are seven vehicles: a limousine, a truck, a minivan, a tractor, a hatchback, a bus, and a convertible. The convertib...
logic
logical_deduction_seven_objects
lukaemon/bbh
1,034
549
[ { "content": "How does the coupling between electron transfer kinetics and ion transport within nanoporous solid-electrolyte interphases influence the voltage hysteresis observed in high‑energy lithium‑sulfur batteries under fast charge conditions?", "role": "user" }, { "content": "<think>\nThe user...
science
-
ianncity/GLM-5.2-Science
4,990
1,555
[ { "content": "Create an HTML form with two dropdowns to select from different countries and cities. Additionally, implement the following features: 1. Populate the country dropdown dynamically from a JSON file or API endpoint. 2. Enable cascading behavior between the two dropdowns, where selecting a country sh...
code
-
ianncity/Hunter-Alpha-Programming-160000x
5,092
171
[ { "content": "Can you provide an algorithm for performing a linear search on an unordered array in Python?", "role": "user" }, { "content": "<think>\nThe user is asking for a Python algorithm to perform a linear search on an unordered array. This is a straightforward programming question. Let me pro...
code
-
ianncity/Hunter-Alpha-Programming-160000x
724
127
[ { "content": "Generate a code snippet to print out the top 3 highest numbers from an array A. Write corresponding code in Python. A = [9, 4, 18, 24, 7, 22, 11]", "role": "user" }, { "content": "<think>\nThe user wants a Python code snippet that prints the top 3 highest numbers from the array A = [9,...
code
-
ianncity/Hunter-Alpha-Programming-160000x
454
181
[ { "content": "Build a complete, single-page e-commerce product showcase website using only HTML, CSS, and vanilla JavaScript (no frameworks). The design should be playful and vibrant. Include: dark/light mode toggle with localStorage persistence; CSS custom properties (variables) for theming; animated statistic...
code
-
ianncity/Hunter-Alpha-Programming-160000x
8,986
125
[ { "content": "Let $x, y, z$ be real numbers in $[0,1]$. Find the greatest value that the expression\n\n$$\nx^{2} y+y^{2} z+z^{2} x-x^{2} z-z^{2} y-y^{2} x\n$$\n\ncan take.", "role": "user" }, { "content": "<think>\nWe need solve math optimization. Now think thoroughly. Problem: x,y,z real in [0,1]. ...
math
-
open-r1/OpenR1-Math-220k
7,415
7,055
[ { "content": "Considering the tension between dark energy models and the Hubble tension, propose a testable observational strategy using next‑generation 21‑cm intensity mapping to discriminate between early dark energy and interacting dark sector scenarios within a 25‑year timeframe?", "role": "user" }, ...
science
-
ianncity/GLM-5.2-Science
7,054
2,948
[ { "content": "How does the interplay between mantle convection patterns and core-mantle boundary heat flux variations influence the long-term stability of a planet’s magnetic dynamo, considering both compositional stratification and rotational coupling over gigayear timescales?", "role": "user" }, { ...
science
-
ianncity/GLM-5.2-Science
5,420
1,261
[ { "content": "Liam is twice as old as Sarah. In 10 years, Liam will be thrice as old as Sarah was 5 years ago. How old is Sarah now?", "role": "user" }, { "content": "<think>\nLet me solve this step by step.\n\nLet Sarah's current age be S, and Liam's current age be L.\n\nFrom the first statement: \...
logic
logic_puzzle
ianncity/GLM-5.2-Logic-Puzzles
331
147
[ { "content": "Find the position of points \\( P \\), \\( Q \\), and \\( R \\) on sides \\( [AB] \\), \\( [AC] \\), and \\( [BC] \\) of an acute-angled triangle \\( ABC \\) such that the perimeter of triangle \\( PQR \\) is minimized.", "role": "user" }, { "content": "<think>\nWe need to find points ...
math
-
nvidia/OpenMathReasoning
3,822
3,015
[ { "content": "How can hierarchical Bayesian models incorporating spatial-temporal random effects be optimized to simultaneously estimate rare disease incidence and assess the impact of multiscale environmental covariates on longitudinal health outcomes in low‑resource regions?", "role": "user" }, { ...
science
-
ianncity/GLM-5.2-Science
6,471
775
[ { "content": "A meeting between SHIELD and Avengers took place to stop Ultron. All the Avengers are present in the meeting. Everyone is shaking hands with others but exactly once. \n\nTony Stark asked from Captain America that total how many handshakes took place in the meeting. Help Captain to calculate total ...
code
cpp
GetSoloTech/Code-Reasoning
734
257
[ { "content": "A cyclist travels at 60 mph for 20 minutes and then 90 mph for 10 minutes. What is the total distance traveled in miles?", "role": "user" }, { "content": "<think>\nI need to calculate the total distance traveled by the cyclist.\n\nFirst segment: 60 mph for 20 minutes\n- Convert 20 minu...
logic
logic_puzzle
ianncity/GLM-5.2-Logic-Puzzles
239
99
[ { "content": "What are the mechanistic pathways and isotopic fractionation signatures for deep mantle carbon cycling mediated by high‑pressure carbonate melt–fluid interactions, and how can combined synchrotron X‑ray diffraction and Raman spectroscopy constrain the thermodynamic stability of exotic carbonates a...
science
-
ianncity/GLM-5.2-Science
7,079
1,639
[ { "content": "In the group, there are 6 Varaždinians, 6 Zadrians, and 6 Osijekians. In how many ways can they be divided into:\na) 6 groups of 3 people so that each group contains one Varaždinian, one Zadrian, and one Osijekian?\nb) 3 groups of 6 people so that each group contains two Varaždinians, two Zadrians...
math
-
open-r1/OpenR1-Math-220k
3,981
3,450
[ { "content": "a. Consider an atom in the interior of this container of volume $V$. Suppose the potential energy of the interaction is given by\n\n$$\n\nu(r)= \\begin{cases}0 & r<d \\\\ -\\epsilon\\left(\\frac{d}{r}\\right)^{6} & r \\geq d\\end{cases}\n\n$$\n\nwhere $d \\ll V^{1 / 3}$ is the minimum allowed dist...
science
physics
Hothan/OlympiadBench
960
514
[ { "content": "Alice rolls a fair six-sided die with the numbers $1$ through $6$, and Bob rolls a fair eight-sided die with the numbers $1$ through $8$. Alice wins if her number divides Bob’s number, and Bob wins otherwise. What is the probability that Alice wins?", "role": "user" }, { "content": "<t...
math
-
nvidia/OpenMathReasoning
340
122
[ { "content": "In lattice gauge theory simulations of quantum chromodynamics at finite baryon density, how can machine‑learned surrogate models be employed to overcome the sign problem while preserving topological charge distributions and continuum extrapolation fidelity?", "role": "user" }, { "conte...
science
-
ianncity/GLM-5.2-Science
5,837
1,811
[ { "content": "The captain of TITANIC is a mathematics freak. He has recently been given a problem that he is unable to solve. And he has asked your help to solve it.\n\nThere are n numbers in a given expression.\n\nX1 X2 X3 .... Xn\n\nWhat is the number of ways to put parenthesis in the expression.\n\nFor n=4,...
code
python
GetSoloTech/Code-Reasoning
1,432
817
[ { "content": "=====Problem Statement=====\nYou are given four points A, B, C and D in a 3-dimensional Cartesian coordinate system. You are required to print the angle between the plane made by the points A, B, C and B, C, D in degrees(not radians). Let the angle be PHI.\nCos(PHI) = (X.Y)/|X|Y| where X = AB x BC...
code
-
Modotte/CodeX-2M-Thinking
1,235
575
[ { "content": "In what ways can phylogenomic reconstruction combined with deep mutational scanning elucidate the evolutionary origins and functional diversification of CRISPR‑Cas adaptive immune systems across archaeal lineages?", "role": "user" }, { "content": "<think>\nThe user is asking a highly s...
science
-
ianncity/GLM-5.2-Science
4,517
1,207
[ { "content": "If I had 20 vintage gold coins and gave 8 to a collector, how many would I have left?", "role": "user" }, { "content": "<think>\nThe user is asking a simple subtraction problem: 20 - 8 = 12.\n\n</think>\n\n\n\nYou would have **12** vintage gold coins left (20 − 8 = 12).", "role": "...
logic
logic_puzzle
ianncity/GLM-5.2-Logic-Puzzles
60
16
[ { "content": "Given the differential equation \\((xy^3 + x^2y^7)\\frac{dy}{dx} = 1\\) with the initial condition \\(y\\left(\\frac{1}{4}\\right) = 1\\), find the value of \\(\\frac{dy}{dx}\\) when \\(y = -1\\).", "role": "user" }, { "content": "<think>\nWe need to solve the differential equation $(x...
math
-
zwhe99/DeepMath-103K
1,133
694
[ { "content": "What Bayesian hierarchical framework can integrate sparse, temporally irregular satellite aerosol optical depth measurements with ground‑based lidar profiles to quantify the vertical distribution of anthropogenic versus biogenic particulate sources and their radiative forcing uncertainties?", ...
science
-
ianncity/GLM-5.2-Science
6,582
1,622
[ { "content": "If today is Saturday, what day was two days before tomorrow's yesterday?", "role": "user" }, { "content": "<think>\nLet me work through this step by step.\n\nToday is Saturday.\n\n\"Tomorrow's yesterday\" - Let me parse this carefully.\n- Tomorrow is Sunday.\n- \"Tomorrow's yesterday\"...
logic
logic_puzzle
ianncity/GLM-5.2-Logic-Puzzles
202
112
[ { "content": "— Willem...\n\n— What's the matter?\n\n— It seems that there's something wrong with Seniorious...\n\n— I'll have a look...\n\nSeniorious is made by linking special talismans in particular order.\n\nAfter over 500 years, the carillon is now in bad condition, so Willem decides to examine it thorough...
code
cpp
GetSoloTech/Code-Reasoning
20,761
18,413
[ { "content": "In a multicellular organism, how does stochastic epigenetic noise interact with spatially patterned gene regulatory networks to drive lineage‑specific attractor states, and what quantitative models can predict the emergence of novel phenotypes under selective pressure?", "role": "user" }, ...
science
-
ianncity/GLM-5.2-Science
5,407
1,417
[ { "content": "Levko loves array a_1, a_2, ... , a_{n}, consisting of integers, very much. That is why Levko is playing with array a, performing all sorts of operations with it. Each operation Levko performs is of one of two types:\n\n Increase all elements from l_{i} to r_{i} by d_{i}. In other words, perform ...
code
python
GetSoloTech/Code-Reasoning
5,030
3,754
[ { "content": "Nathan O. Davis has been running an electronic bulletin board system named JAG-channel. He is now having hard time to add a new feature there --- threaded view.\n\nLike many other bulletin board systems, JAG-channel is thread-based. Here a thread (also called a topic) refers to a single conversati...
code
-
Modotte/CodeX-2M-Thinking
4,482
2,605
[ { "content": "Construct a Python code snippet that would arrange in lexicographic sequence a sizable list of both lowercase and capitalized random words in mixed list comprising of fruit names, animal names, and names of cities represented as strings. While doing so, ensure that the case of the string does not ...
code
-
ianncity/Hunter-Alpha-Programming-160000x
1,918
934
[ { "content": "If I am standing facing North and my shadow is cast directly to my left, which direction is the sun in?", "role": "user" }, { "content": "<think>\nLet me work through this step by step.\n\nIf I am facing North, then:\n- My left side is West\n- My right side is East\n- Behind me is Sout...
logic
logic_puzzle
ianncity/GLM-5.2-Logic-Puzzles
235
105
[ { "content": "If today is Sunday, what day is it three days after the day before tomorrow?", "role": "user" }, { "content": "<think>\nLet me work through this step by step.\n\nToday is Sunday.\n\nFirst, \"the day before tomorrow\": Tomorrow is Monday. The day before Monday is Sunday. So \"the day be...
logic
logic_puzzle
ianncity/GLM-5.2-Logic-Puzzles
169
76
[ { "content": "Write a python function to find the length of the longest subarray with the sum of its elements equal to k. Solve the problem starting with the provided function header. Function header: ``` def longest_subarray_with_sum(nums, k): ``` Please place the solution code in the following format: ```pyth...
code
-
ianncity/Hunter-Alpha-Programming-160000x
1,305
767
[ { "content": "What mechanistic pathways link soil hydraulic conductivity heterogeneity to emergent patterns of microbial gene flow in aquifer ecosystems, and how can stochastic reaction‑diffusion models be calibrated to predict spatially explicit horizontal gene transfer rates?", "role": "user" }, { ...
science
-
ianncity/GLM-5.2-Science
7,841
1,780
[ { "content": "Suppose $a$, $b$, $c$, and $d$ are non-negative integers such that\n \\[(a+b+c+d)(a^2+b^2+c^2+d^2)^2=2023.\\]\n Find $a^3+b^3+c^3+d^3$.\n\n[i]Proposed by Connor Gordon[/i]", "role": "user" }, { "content": "<think>\nLet me work through this problem step by step.\n\nWe need to find...
math
-
open-r1/OpenR1-Math-220k
1,334
975
[ { "content": "How does anisotropic mantle viscosity influence the coupling between deep mantle plume upwellings and surface plate tectonic stress fields, and what observable seismic anisotropy signatures would differentiate this mechanism from homogeneous viscosity models?", "role": "user" }, { "con...
science
-
ianncity/GLM-5.2-Science
6,228
2,268
[ { "content": "The electrostatic force between the earth and the moon can be ignored\\n\\n(a) because it is much smaller than the gravitational force. \\n(b) because the bodies are electrically neutral. \\n(c) because of the tidal effect. \\n\\n*(CCT)*", "role": "user" }, { "content": "<think>\nTh...
science
Atomic, Nuclear and Particle Physics
EricLu/SCP-116K
802
400
[ { "content": "I have 22 rare stamps. I sold 8 to a friend and 5 to a dealer. How many stamps does the friend have?", "role": "user" }, { "content": "<think>\nThe question asks how many stamps the friend has. Let me read carefully.\n\n\"I have 22 rare stamps. I sold 8 to a friend and 5 to a dealer. H...
logic
logic_puzzle
ianncity/GLM-5.2-Logic-Puzzles
222
134
[ { "content": "If I am standing in front of a mirror and holding a pen in my right hand, which hand is my reflection holding the pen?", "role": "user" }, { "content": "<think>\nThe user is asking a classic mirror reflection question. Let me think carefully about this.\n\nWhen you stand in front of a ...
logic
logic_puzzle
ianncity/GLM-5.2-Logic-Puzzles
751
551
[ { "content": "Monocarp is the coach of the Berland State University programming teams. He decided to compose a problemset for a training session for his teams.\n\nMonocarp has $n$ problems that none of his students have seen yet. The $i$-th problem has a topic $a_i$ (an integer from $1$ to $n$) and a difficulty...
code
-
Modotte/CodeX-2M-Thinking
6,913
5,911
[ { "content": "Walk through a system design for a metrics collection and alerting platform (like Prometheus + Grafana). Key constraints: label cardinality explosion: mitigation strategies at 50K time series; alerting via threshold rules and anomaly detection, routing to PagerDuty; time-series compression with de...
code
-
ianncity/Hunter-Alpha-Programming-160000x
9,892
501
[ { "content": "Find the largest integer that can be formed with exactly N matchsticks, under the following conditions:\n - Every digit in the integer must be one of the digits A_1, A_2, ..., A_M (1 \\leq A_i \\leq 9).\n - The number of matchsticks used to form digits 1, 2, 3, 4, 5, 6, 7, 8, 9 should be 2, 5, 5, ...
code
python
GetSoloTech/Code-Reasoning
5,239
4,355
[ { "content": "Write a python function to find the prime numbers within a given range and count them.\n\nSolve the problem starting with the provided function header.\n\nFunction header:\n```\ndef prime_number_count(n):\n```\n\nPlease place the solution code in the following format:\n```python\n# Your solution c...
code
-
Modotte/CodeX-2M-Thinking
964
534
[ { "content": "A vintage guitar costs $750 more than its leather case. If the case costs $150, how much does the vintage guitar cost?", "role": "user" }, { "content": "<think>\nThe user is asking a simple math problem.\n\nThe case costs $150.\nThe guitar costs $750 more than the case.\n\nGuitar cost ...
logic
logic_puzzle
ianncity/GLM-5.2-Logic-Puzzles
108
37
[ { "content": "The polynomial $A(x) = x^2 + ax + b$ with integer coefficients has the following property: \nfor each prime $p$ there is an integer $k$ such that $A(k)$ and $A(k + 1)$ are both divisible by $p$. \nProof that there is an integer $m$ such that $A(m) = A(m + 1) = 0$.", "role": "user" }, { ...
math
-
open-r1/OpenR1-Math-220k
1,763
1,255
[ { "content": "If you stand in front of a mirror holding a sign that says 'HELLO' in your left hand, which hand is your reflection holding the sign with?", "role": "user" }, { "content": "<think>\nThe user is asking about a mirror reflection. Let me think through this carefully.\n\nWhen you stand in ...
logic
logic_puzzle
ianncity/GLM-5.2-Logic-Puzzles
789
502
[ { "content": "Demonstrate the Saga design pattern in Ruby with a practical a game engine component example. Show how it interacts with at least one other pattern.", "role": "user" }, { "content": "<think>\nThe user wants me to demonstrate the Saga design pattern in Ruby with a practical game engine ...
code
-
ianncity/Hunter-Alpha-Programming-160000x
3,950
820
[ { "content": "What is the name of the reaction which is the bimolecular reductive coupling of aliphatic esters by reaction with molten and highly dispersed metallic sodium in an inert solvent like xylene? Give an example of the reaction along with its mechanism.", "role": "user" }, { "content": "<th...
science
Organic Chemistry
EricLu/SCP-116K
5,510
4,296
[ { "content": "Kefa decided to celebrate his first big salary by going to the restaurant. \n\nHe lives by an unusual park. The park is a rooted tree consisting of n vertices with the root at vertex 1. Vertex 1 also contains Kefa's house. Unfortunaely for our hero, the park also contains cats. Kefa has already fo...
code
python
GetSoloTech/Code-Reasoning
2,157
927
[ { "content": "Find all sequences $(a_n)_{n\\geq 1}$ of positive integers such that for all integers $n\\geq 3$ we have\n\n$$\n\\dfrac{1}{a_1 a_3} + \\dfrac{1}{a_2a_4} + \\cdots + \\dfrac{1}{a_{n-2}a_n}= 1 - \\dfrac{1}{a_1^2+a_2^2+\\cdots +a_{n-1}^2}.\n$$", "role": "user" }, { "content": "<think>\nLe...
math
-
nvidia/OpenMathReasoning
3,691
2,888
[ { "content": "Given that $x, y$ are integers, and\n$$\ny=\\frac{4012}{\\sqrt{x+2005}-\\sqrt{x-2007}} \\text {. }\n$$\n\nThen the maximum value of $y$ is $\\qquad$ .", "role": "user" }, { "content": "<think>\nWe need to find the maximum value of $y$ where $x, y$ are integers and\n$$y = \\frac{4012}{\...
math
-
open-r1/OpenR1-Math-220k
3,318
2,733
[ { "content": "For given $n$ different numbers $a_{1}, a_{2}, \\cdots, a_{n} \\in \\mathbf{N}^{*}$, where $n>1$, let $p_{i}=\\prod_{\\substack{j \\neq i \\\\ 1 \\leq j \\leq n}}\\left(a_{i}-a_{j}\\right)$ for $i= 1,2, \\cdots, n$. Prove that for any $k \\in \\mathbf{N}^{*}$, $\\sum_{i=1}^{n} \\frac{a_{i}^{k}}{p_...
math
olympiads
AI-MO/NuminaMath-CoT
5,636
4,811
[ { "content": "If one edge length of a tetrahedron is $x$, and the other edges are all 1, the volume is $F(x)$, then the function $F(x)$ on its domain\n(A) is an increasing function but has no maximum value;\n(B) is an increasing function and has a maximum value;\n(C) is not an increasing function and has no max...
math
-
open-r1/OpenR1-Math-220k
2,133
1,499
[ { "content": "A spring with constant k = 476 N/m is compressed 0.44 m. Calculate the elastic potential energy stored. Show your calculations.", "role": "user" }, { "content": "<think>\nThe user wants me to calculate the elastic potential energy stored in a spring.\n\nGiven:\n- Spring constant k = 47...
code
-
ianncity/Hunter-Alpha-Programming-160000x
280
93
[ { "content": "You are given an integer array nums. We call a subset of nums good if its product can be represented as a product of one or more distinct prime numbers. Return the number of different good subsets in nums modulo 109 + 7. A subset of nums is any array that can be obtained by deleting some (possibly...
code
-
Modotte/CodeX-2M-Thinking
4,349
3,492
[ { "content": "Write a Python function to generate the kth permutation of a given sequence of numbers. The sequence will be from 1 to n, and k will be an integer.\n\nSolve the problem starting with the provided function header.\n\nFunction header:\n```\nclass Solution:\n\tdef generate_kth_permutation(self, n: in...
code
-
Modotte/CodeX-2M-Thinking
1,487
876
[ { "content": "An outlet pipe empties a tank which is full in 5 hours. If the inlet pipe is kept open, which lets water in at the rate of 4 litres/min, then the outlet pipe would take 3 hours longer. What is the capacity of the tank (in litres)?", "role": "user" }, { "content": "<think>\nLet me work ...
math
orca_math
AI-MO/NuminaMath-CoT
485
224
[ { "content": "The baker, the tailor, and the pilot are three different people. The baker is not wearing red. The pilot is not wearing blue. The tailor is wearing red. Who is wearing blue?", "role": "user" }, { "content": "<think>\nLet me work through this logic puzzle.\n\nWe have three people: the b...
logic
logic_puzzle
ianncity/GLM-5.2-Logic-Puzzles
346
173
[ { "content": "Delete all perfect squares from the sequence of positive integers $1,2,3, \\cdots$, to get a new sequence. The 2003rd term of this new sequence is\nA. 2046\nB. 2047\nC. 2048\nD. 2049", "role": "user" }, { "content": "<think>\nWe need to find the 2003rd term of the sequence of positive ...
math
-
open-r1/OpenR1-Math-220k
741
426
[ { "content": "Given an isosceles triangle \\(ABC\\) with \\(|AB| = |AC| = 10\\) and \\(|BC| = 15\\). Points \\(P\\) and \\(Q\\) are chosen on \\(BC\\) and \\(AC\\) respectively such that \\(|AQ| = |QP| = |PC|\\). Calculate the ratio of the areas of triangles \\(PQA\\) and \\(ABC\\).", "role": "user" }, ...
math
-
nvidia/OpenMathReasoning
1,632
1,110
[ { "content": "Given that the three vertices $A, B, C$ of the right triangle $\\triangle A B C$ are all on the parabola $y=x^{2}$, and the hypotenuse $A B$ is parallel to the $x$-axis, then the altitude $C D$ from $C$ to $A B$ equals $\\qquad$ .", "role": "user" }, { "content": "<think>\nLet me set u...
math
-
open-r1/OpenR1-Math-220k
737
381
[ { "content": "How can hierarchical Bayesian models be structured to simultaneously estimate time-varying gene regulatory network parameters and account for measurement error in single-cell RNA‑seq data across multiple developmental stages?", "role": "user" }, { "content": "<think>\nThe user is askin...
science
-
ianncity/GLM-5.2-Science
5,055
623
[ { "content": "Smaug, the dragon, rules under The Mountain, Erabor which was originally the ruling place of Dwarf King. King Thorin, who is the rightful heir to the throne is on his way to take back his kingdom from Smaug. With the help of a map, King Thorin is able to find a secret entry into the mountain. But ...
code
-
Modotte/CodeX-2M-Thinking
910
310
[ { "content": "Acacius is studying strings theory. Today he came with the following problem. You are given a string s of length n consisting of lowercase English letters and question marks. It is possible to replace question marks with lowercase English letters in such a way that a string \"abacaba\" occurs as a...
code
-
ianncity/Hunter-Alpha-Programming-160000x
3,001
1,607
[ { "content": "Polycarpus has a complex electronic device. The core of this device is a circuit board. The board has $$$10^9$$$ contact points which are numbered from $$$1$$$ to $$$10^9$$$. Also there are $$$n$$$ wires numbered from $$$1$$$ to $$$n$$$, each connecting two distinct contact points on the board. An...
code
-
ianncity/Hunter-Alpha-Programming-160000x
6,027
4,083
[ { "content": "A radio show starts at 10:42 PM and lasts for 3 hours and 35 minutes. What time does it end?", "role": "user" }, { "content": "<think>\nLet me calculate the end time of the radio show.\n\nStart time: 10:42 PM\nDuration: 3 hours and 35 minutes\n\nAdding 3 hours to 10:42 PM:\n10:42 PM + ...
logic
logic_puzzle
ianncity/GLM-5.2-Logic-Puzzles
167
70
[ { "content": "Chef plays with the sequence of N numbers. During a single move Chef is able to choose a non-decreasing subsequence of the sequence and to remove it from the sequence. Help him to remove all the numbers in the minimal number of moves. \n\nInput\nThe first line of each test case contains a single N...
code
cpp
GetSoloTech/Code-Reasoning
2,516
1,719
[ { "content": "VK news recommendation system daily selects interesting publications of one of $n$ disjoint categories for each user. Each publication belongs to exactly one category. For each category $i$ batch algorithm selects $a_i$ publications.\n\nThe latest A/B test suggests that users are reading recommend...
code
python
GetSoloTech/Code-Reasoning
7,156
6,063
[ { "content": "There is a tree with $$$n$$$ vertices. There are also $$$m$$$ ants living on it. Each ant has its own color. The $$$i$$$-th ant has two favorite pairs of vertices: ($$$a_i, b_i$$$) and ($$$c_i, d_i$$$). You need to tell if it is possible to paint the edges of the tree in $$$m$$$ colors so that eve...
code
-
ianncity/Hunter-Alpha-Programming-160000x
41,987
41,482
[ { "content": "Example 6 If the function $f(x)$ satisfies\n$$\n\\begin{array}{l}\nf(x+y)=f(x)+f(y)+xy(x+y), \\\\\nf^{\\prime}(0)=1,\n\\end{array}\n$$\n\nfind the analytical expression of the function $f(x)$.\n(2000, Shanghai Jiao Tong University Admissions Exam for Recommended Students)", "role": "user" },...
math
-
open-r1/OpenR1-Math-220k
878
475
[ { "content": "Build a complete, single-page online resume/CV page website using only HTML, CSS, and vanilla JavaScript (no frameworks). The design should be bold and colorful. Include: tabbed content section with keyboard navigation; hero section with a full-screen background image and CTA button; CSS custom pr...
code
-
ianncity/Hunter-Alpha-Programming-160000x
8,475
210
[ { "content": "How does incorporating stochastic differential equation models of intracellular signaling noise improve the predictive accuracy of multi-scale tumor growth simulations when calibrated against single-cell RNA sequencing data across heterogeneous microenvironments?", "role": "user" }, { ...
science
-
ianncity/GLM-5.2-Science
4,288
497
[ { "content": "If I am standing in front of a mirror and holding a coffee in my right hand, which hand is my reflection holding the cup?", "role": "user" }, { "content": "<think>\nThe user is asking about a mirror reflection. Let me think carefully about this.\n\nWhen you stand in front of a mirror h...
logic
logic_puzzle
ianncity/GLM-5.2-Logic-Puzzles
1,234
1,016
[ { "content": "Today, Nancy went to the basketball court. Between what times could they have gone?\nWe know that:\nNancy woke up at 9am.\nSteven saw Nancy waiting at the train station from 2pm to 4pm.\nSarah saw Nancy reading at the library from 4pm to 5pm.\nRichard saw Nancy buying a phone at the electronics st...
logic
temporal_sequences
lukaemon/bbh
586
246
[ { "content": "At what time between 5 PM and 6 PM do the hour hand and minute hand of a clock overlap?", "role": "user" }, { "content": "<think>\nI need to find the time between 5 PM and 6 PM when the hour hand and minute hand overlap.\n\nLet me set up the problem. Let's say the time is 5:00 + t minu...
math
-
nvidia/OpenMathReasoning
511
295
[ { "content": "What is 42% of the cube root of 2,985,984 minus one-fourth of 3,294, and how does that compare as a percentage to the square root of 45,322 multiplied by 7/12?", "role": "user" }, { "content": "<think>\nLet me break this problem into parts.\n\n**Part 1: 42% of the cube root of 2,985,98...
math
orca_math
AI-MO/NuminaMath-CoT
1,316
1,038
[ { "content": "A heavy rock is sitting in a small boat anchored in a lake. If you throw the rock overboard and it sinks to the lakebed, will the water level of the lake rise, fall, or stay the same?", "role": "user" }, { "content": "<think>\nLet me think through this classic physics problem carefully...
logic
logic_puzzle
ianncity/GLM-5.2-Logic-Puzzles
853
402
[ { "content": "The chef won a duet singing award at Techsurge & Mridang 2012. From that time he is obsessed with the number 2.\n\nHe just started calculating the powers of two. And adding the digits of the results.\n\nBut he got puzzled after a few calculations. So gave you the job to generate the solutions to 2...
code
python
GetSoloTech/Code-Reasoning
700
243
[ { "content": "Given that line $l$ passes through the intersection point $P$ of the lines $2x+y-5=0$ and $x-2y=0$.\n\n(I) If line $l$ is parallel to line $l_1$: $4x-y+1=0$, find the equation of $l$;\n\n(II) If line $l$ is perpendicular to line $l_1$: $4x-y+1=0$, find the equation of $l$.", "role": "user" }...
math
-
AI-MO/NuminaMath-CoT
616
281
[ { "content": "How does the interplay between species-specific functional traits and spatial heterogeneity in fragmented landscapes modulate meta-community stability under stochastic disturbance regimes, and what mechanistic models can quantify these effects across temporal scales?", "role": "user" }, { ...
science
-
ianncity/GLM-5.2-Science
7,173
529
[ { "content": "Implement a C++ function that solves: Implement an algorithm to serialize and deserialize a binary tree. Solve it, then explain what makes the optimal solution non-obvious.", "role": "user" }, { "content": "<think>\nThe user wants me to implement a C++ function to serialize and deseria...
code
-
ianncity/Hunter-Alpha-Programming-160000x
2,773
1,132
[ { "content": "Simplify \\((\\cos \\theta + \\sqrt{m} \\sin \\theta)^2 + (\\sin \\theta - \\sqrt{m} \\cos \\theta)^2\\) and hence obtain a non-integer rational point on the circle \\(x^2 + y^2 = 2\\).", "role": "user" }, { "content": "<think>\nLet me simplify the expression $(\\cos \\theta + \\sqrt{m...
math
-
nvidia/OpenMathReasoning
936
542
[ { "content": "Farmer John is grazing his cows at the origin. There is a river that runs east to west 50 feet north of the origin. The barn is 100 feet to the south and 80 feet to the east of the origin. Farmer John leads his cows to the river to take a swim, then the cows leave the river from the same place the...
math
-
open-r1/OpenR1-Math-220k
1,380
887
[ { "content": "How can I generate a Python script that prints the numbers from 1 to 10?", "role": "user" }, { "content": "<think>\nThe user is asking how to write a Python script that prints numbers from 1 to 10. This is a straightforward beginner Python question. I'll provide a few common approaches...
code
-
ianncity/Hunter-Alpha-Programming-160000x
301
71
[ { "content": "What mechanistic pathways enable the self-assembly of covalent organic frameworks with programmable pore topology to exhibit tunable excitonic conductivity, and how can quantum chemical modeling predict their emergent optoelectronic properties?", "role": "user" }, { "content": "<think>...
science
-
ianncity/GLM-5.2-Science
5,609
851
[ { "content": "A 10-day challenge begins on the last day of February in a leap year. What date of the month does the challenge end?", "role": "user" }, { "content": "<think>\nLet me work through this step by step.\n\nFirst, I need to determine the last day of February in a leap year. In a leap year, ...
logic
logic_puzzle
ianncity/GLM-5.2-Logic-Puzzles
296
149
[ { "content": "How does the coupled transport of redox-sensitive trace elements and fluid flow in subduction zone metamorphic rocks influence the isotopic fractionation of lithium and boron, and what constraints does this impose on deep carbon cycle models?", "role": "user" }, { "content": "<think>\n...
science
-
ianncity/GLM-5.2-Science
6,755
2,880