
ACM


Festival Organization
The Prodiggers are quite a cool band and for this reason, they have been the surprise guest at the ENTER festival for the past 80 […]

Cowboy Beblop at his computer
Cowboy Beblop is a funny little boy who likes sitting at his computer. He somehow obtained two elastic hoops in the shape of 2D polygons, […]

Hongcow Builds A Nation
Hongcow is ruler of the world. As ruler of the world, he wants to make it easier for people to travel by road within their […]

Hongcow Masters the Cyclic Shift
Hongcow’s teacher heard that Hongcow had learned about the cyclic shift, and decided to set the following problem for him. You are given a list […]

Hongcow Buys a Deck of Cards
One day, Hongcow goes to the store and sees a brand new deck of n special cards. Each individual card is either red or blue. He decides […]

Hongcow’s Game
This is an interactive problem. In the interaction section below you will see the information about flushing the output. In this problem, you will be […]

Hongcow Draws a Circle
Hongcow really likes the color red. Hongcow doesn’t like the color blue. Hongcow is standing in an infinite field where there are n red points and m blue points. […]

New Year and Hurry
Limak is going to participate in a contest on the last day of the 2016. The contest will start at 20:00 and will last four […]

New Year and Rating
Every Codeforces user has rating, described with one integer, possibly negative or zero. Users are divided into two divisions. The first division is for users […]

New Year and North Pole
In this problem we assume the Earth to be a completely round ball and its surface a perfect sphere. The length of the equator and […]

New Year and Fireworks
One tradition of welcoming the New Year is launching fireworks into the sky. Usually a launched firework flies vertically upward for some period of time, […]

New Year and Binary Tree Paths
The New Year tree is an infinite perfect binary tree rooted in the node 1. Each node v has two children: nodes indexed (2·v) and (2·v + 1). Polar bears love decorating the […]

New Year and Finding Roots
This is an interactive problem. In the interaction section below you will find the information about flushing the output. The New Year tree of height h is […]

Gotta Catch Em’ All!
Bash wants to become a Pokemon master one day. Although he liked a lot of Pokemon, he has always been fascinated by Bulbasaur the most. […]

Bash’s Big Day
Bash has set out on a journey to become the greatest Pokemon master. To get his first Pokemon, he went to Professor Zulu’s Lab. Since […]

Bash Plays with Functions
Bash got tired on his journey to become the greatest Pokemon master. So he decides to take a break and play with functions. Bash defines […]

Felicity is Coming!
It’s that time of the year, Felicity is around the corner and you can see people celebrating all around the Himalayan region. The Himalayan region […]

Felicity’s Big Secret Revealed
The gym leaders were fascinated by the evolutions which took place at Felicity camp. So, they were curious to know about the secret behind evolving […]

Can Bash Save the Day?
Whoa! You did a great job helping Team Rocket who managed to capture all the Pokemons sent by Bash. Meowth, part of Team Rocket, having […]