Problems from Tough Cubs' Contest, December 2016

These problems are from a contest hosted on December 24, 2016 at 12:00 PM UTC. See details...

Standings
A. Gutibaji on Chessboard
Let there be a chessboard of size N×M, and only one bishop in a cell (x,y). How many cells can the b...
B. Harry Potter and the Vault of Gringotts
"There was a break-in of Gringotts Wizarding Bank on 1 May, 1998, during the height of the Second Wi...
C. The Game Is Back On
Moriarty is bored again. When he gets bored, the only thing he wants to do is play with Sherlock. So...
D. Game, Game Everywhere
Binary and Ternary are playing a game. In this game, they initially choose an array with N elements....
Toph uses cookies. By continuing you agree to our Cookie Policy.