Benchmark AI / Public workspace

OlympiadBench / 1887 / Players A and B play a game on a blackboard that initially contains 2020…

Problem

Answer published by the source. Consult the official source to check your work against its answer.

answer type

Numerical

is multiple answer

false

language

English

question

Players AA and BB play a game on a blackboard that initially contains 2020 copies of the number 1. In every round, player AA erases two numbers xx and yy from the blackboard, and then player BB writes one of the numbers x+yx+y and |xy||x-y| on the blackboard. The game terminates as soon as, at the end of some round, one of the following holds: (1) one of the numbers on the blackboard is larger than the sum of all other numbers; (2) there are only zeros on the blackboard. Player BB must then give as many cookies to player AA as there are numbers on the blackboard. Player AA wants to get as many cookies as possible, whereas player BB wants to give as few as possible. Determine the number of cookies that AA receives if both players play optimally.
Plain-text mathematical notation (without MathML)
Players A and B play a game on a blackboard that initially contains 2020 copies of the number 1. In every round, player A erases two numbers x and y from the blackboard, and then player B writes one of the numbers x+y and |x−y| on the blackboard. The game terminates as soon as, at the end of some round, one of the following holds:

(1) one of the numbers on the blackboard is larger than the sum of all other numbers;

(2) there are only zeros on the blackboard.

Player B must then give as many cookies to player A as there are numbers on the blackboard. Player A wants to get as many cookies as possible, whereas player B wants to give as few as possible. Determine the number of cookies that A receives if both players play optimally.
Original LaTeX notation
Players $A$ and $B$ play a game on a blackboard that initially contains 2020 copies of the number 1. In every round, player $A$ erases two numbers $x$ and $y$ from the blackboard, and then player $B$ writes one of the numbers $x+y$ and $|x-y|$ on the blackboard. The game terminates as soon as, at the end of some round, one of the following holds:

(1) one of the numbers on the blackboard is larger than the sum of all other numbers;

(2) there are only zeros on the blackboard.

Player $B$ must then give as many cookies to player $A$ as there are numbers on the blackboard. Player $A$ wants to get as many cookies as possible, whereas player $B$ wants to give as few as possible. Determine the number of cookies that $A$ receives if both players play optimally.

question type

Open-ended

subject

Math

Discussion

Discussion

No discussion posts on this page yet. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

Source and history

Official source

initial import