mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-28 17:29:39 +00:00
8 lines
No EOL
2 KiB
JSON
8 lines
No EOL
2 KiB
JSON
{
|
|
"question": "A fog bank rolls in from the ocean to cover a city. It takes 10 minutes to cover every 3 miles of the city. If the city is 42 miles across from the oceanfront to the opposite inland edge, how many minutes will it take for the fog bank to cover the whole city?",
|
|
"answer": "The city will be covered in 42 / 3 = <<42/3=14>>14 intervals of 10 minutes.\nThus, it will take 14 * 10 = <<14*10=140>>140 minutes for the fog to cover the whole city.\n#### 140",
|
|
"id_orig": 103,
|
|
"id_shuffled": 1,
|
|
"question_annotated": "A fog bank rolls in from the ocean to cover a city. It takes {t,10} minutes to cover every {d,3} miles of the city. However, we know that the wind speed is going to be halved in one hour. If the city is {y,42} miles across from the oceanfront to the opposite inland edge, how many minutes will it take for the fog bank to cover {frac,half} of the city?\n\n#init:\n- $t = range(10, 120, 5)\n- $d = range(2, 100)\n- $y=range(24, 100)\n- $frac=sample(fractions)\n\n#conditions:\n- divides(60*d,t)\n- is_int(y*frac)\n- int(y*frac - (60*d//t)) > 9\n- divides(int(y*frac - (60*d//t)), d)\n\n#answer: (int(y*frac - (60*d//t)) // d * 2*t) + 60",
|
|
"answer_annotated": "To cover {frac} of the city the fog needs {y} * {frac} = {int(y*frac)} miles.\nIn 1 hour, the fog will move 60/{t}*{d} miles = {60*d//t} miles.\nThe remaining distance after one hour is {int(y*frac)} miles - {60*d//t} miles = {int(y*frac - (60*d//t))} miles. \n{int(y*frac - (60*d//t))} miles is {int(y*frac - (60*d//t))}/{d} = {int(y*frac - (60*d//t)) // d} intervals of {d} miles. Since the speed of wind is halved, it would take 2*{t}= {2*t} minutes for the fog to cover {d} miles. So it will take {int(y*frac - (60*d//t)) // d} * {2*t} = {int(y*frac - (60*d//t)) // d * 2*t} minutes to cover the remaining {int(y*frac - (60*d//t))} miles. \nIn total, it will take 60 + {int(y*frac - (60*d//t)) // d * 2*t} = {(int(y*frac - (60*d//t)) // d * 2*t) + 60} minutes to cover {frac} of the city.\n#### {(int(y*frac - (60*d//t)) // d * 2*t) + 60}"
|
|
} |