HF RL Explorer

632 A. Grandma Laura and Apples Problem Description:

632 A. Grandma Laura and Apples Problem Description:: a task in repo2rlenv-scaler (Harbor dataset). She precisely remembers she had n buyers and each of them bought exactly half of the apples she had at the moment of the purchase and also she gave a half of an apple to some of them as a gift (if…

The task

She precisely remembers she had n buyers and each of them bought exactly half of the apples she had at the moment of the purchase and also she gave a half of an apple to some of them as a gift (if the number of apples at the moment of purchase was odd), until she sold all the apples she had.

Part of FineEnvs/repo2rlenv-scaler.