## Team Formation

For an upcoming programming contest, Roy is forming some teams from the students of his university. A team can have any number of contestants. Roy knows the skill level of each contestant. To make

View Solution →## Fighting Pits

Meereen is famous for its fighting pits where fighters fight each other to the death. Initially, there are fighters and each fighter has a strength value. The fighters are divided into teams, an

View Solution →## Game of Stones

Two players called and are playing a game with a starting number of stones. Player always plays first, and the two players move in alternating turns. The game's rules are as follows: In a single

View Solution →## Tower Breakers

Two players are playing a game of Tower Breakers! Player always moves first, and both players always play optimally.The rules of the game are as follows: Initially there are towers. Each tower i

View Solution →## A Chessboard Game

Two players are playing a game on a chessboard. The rules of the game are as follows: The game starts with a single coin located at some coordinates. The coordinates of the upper left cell are ,

View Solution →## Introduction to Nim Game

Nim is the most famous two-player algorithm game. The basic rules for this game are as follows: The game starts with a number of piles of stones. The number of stones in each pile may not be equal.

View Solution →## Misère Nim

Two people are playing game of Misère Nim. The basic rules for this game are as follows: The game starts with piles of stones indexed from to . Each pile (where ) has stones. The players move

View Solution →