-1
votes
1answer
180 views

Number of ways to win chocolate game

Alice and Bob are playing a game. They have N containers each having one or more chocolates. Containers are numbered from 1 to N, where ith container has A[i] number of chocolates. The game goes like ...
0
votes
2answers
383 views

Game of cards and GCD

Alice and Bob play the game. The rules are as follows: Initially, there are n cards on the table, each card has a positive integer written on it. At the beginning Alice writes down the number 0 on ...
3
votes
0answers
50 views

News on SG values of Grundy's Game?

Is there any recent research into the Sprague-Grundy values of Grundy's game? It was calculated to $2^{35}$ integers but with no sight of recurrence. Has anyone come up with anything new to compute ...
0
votes
0answers
51 views

Rectangle over rectangle

Given N rectangles cut out of paper. The rectangles are labeled 0 through N-1.I am having given int[]s X and Y with N elements each. For each i, the sides of rectangle i have lengths X[i] and Y[i]. ...
5
votes
2answers
255 views

Nim addition- binary addition without carrying

A nim addition table is essentially created by putting, in any cell, the smallest number not to the left of the cell and not above that cell in its column. However, I know for a fact that nim addition ...
1
vote
1answer
398 views

Is there a winning strategy for this game?

Andy and Bob play a game using a long straight row of squares, alternating turns. When it’s Andy’s turn, he writes an A in one of the blank squares. When Bob takes a turn, he writes a B in some blank ...