Poker Nim

Cerinta completa Poker Nim is another -player game that’s a simple variation on a Nim game. The rules of the games are as follows: The game starts with piles of chips indexed from to . Each pile (where ) has

Ones and Twos

Cerinta completa You are using at most A number of 1s and at most B number of 2s. How many different evaluation results are possible when they are formed in an expression containing only addition + sign and multiplication *

Play on benders

Cerinta completa General Iroh and Commandant Bumi are heading to the Republic City to stop a rebellion. But it’s quite a long travel, so in the meantime they have started discussing about possible attacking plans. Right now, they’re arguing about

Queen’s Attack II

Cerinta completa You will be given a square chess board with one queen and a number of obstacles placed on it. Determine how many squares the queen can attack. A queen is standing on an chessboard. The chess board’s rows

Nimble Game

Cerinta completa Two people are playing Nimble! The rules of the game are: The game is played on a line of squares, indexed from to . Each square (where ) contains coins. For example: The players move in alternating turns.

Priyanka and Toys

Cerinta completa Priyanka works for an international toy company that ships by container. Her task is to the determine the lowest cost way to combine her orders for shipping. She has a list of item weights. The shipping company has

New Year Chaos

Cerinta completa It is New Year’s Day and people are in line for the Wonderland rollercoaster ride. Each person wears a sticker indicating their initial position in the queue from to . Any person can bribe the person directly in