reasoning-gym/reasoning_gym/data/gsm_data/p2/0012.json
2025-01-30 23:51:31 -06:00

8 lines
No EOL
2.2 KiB
JSON

{
"question": "Jaime places eggs on the tray. Each tray can hold 24 eggs. If he has 64 eggs and 2 trays, how many eggs won't he be able to place on the tray?",
"answer": "Jaime will be able to place a total of 24 x 2 = <<24*2=48>>48.\nTherefore, there are 64 - 48 = <<64-48=16>>16 eggs that he won't be able to place on the tray.\n#### 16",
"id_orig": 491,
"id_shuffled": 12,
"question_annotated": "{name, Jaime} places {obj,egg}s on {surface,tray}s and {surface2,plate}s. Each {surface,tray} can hold {x,24} {obj,egg}s while each {surface2,plate} can hold {mult,twice} that. {name, Jaime} has {n,64} {obj,egg}s, {k,2} {surface,tray}s and {kk,2} {surface2,plate}s. Unfortunately, 2 {surface2,plate}s break. {name,Jaime} then eats {frac,1/3} of all the {obj,egg}s. How many more {surface,tray}s does {name,Jaime} need so he can place all the remaining {obj,egg}s?\n\n#init:\n- name = sample(names_male)\n- obj = sample([\"olive\", \"almond\", \"cookie\", \"cracker\", \"banana\"])\n- surface, surface2 = sample([\"plate\", \"table\", \"bowl\" ], 2)\n- $x = range(20, 41)\n- $k = range(7, 30)\n- $kk = range(3, 6)\n- $n = range(300, 750, 5)\n- $mult = sample(multi_times)\n- $frac = sample(fraction_alph)\n\n#conditions:\n- divides(n, 3)\n- kk > 2\n- is_int((1-frac) * n)\n- k * x + ((kk -2)* mult * x) < (1-frac)*n\n- divides((1-frac)*n - (k*x - (kk -2)* mult * x), x)\n\n#answer: ((1-frac)*n - k*x - ((kk-2) * mult * x))//x",
"answer_annotated": "{name} eats {frac} of the {obj}s. So 1-{frac} = {1-frac} of the {obj}s remain. {1-frac} * {n} = {int(n-frac*n)} {obj}s remain.\nThere were initially {k} {surface}s, and {kk} {surface2}s. But then 2 {surface2}s break. That would leave {name} with {k} {surface}s and {kk}-2 = {kk-2} {surface2}s.\n{name} will be able to place a total of {x} x {k} + {x} * {kk-2} * {mult} = <<{x}*{k} + {x}*{kk-2}*{mult}={x*k+x*(kk-2)*mult}>>{x*k+x*(kk-2)*mult} {obj}s.\nSo {int(n-frac*n)} - {x*k+x*(kk-2)*mult} = {int(((1-frac)*n - k*x - ((kk-2) * mult * x)))} {obj}s remain. Since each {surface} can hold {x} {obj}s, {name} needs {int((1-frac)*n-(x*k+x*(kk-2)*mult))} / {x} = {((1-frac)*n - k*x - ((kk-2) * mult * x))//x} more {surface}s so he can place all the {obj}s.\n\n#### {((1-frac)*n - k*x - ((kk-2) * mult * x))//x}"
}