## Cleaning Up Codechef Solution

After a long and successful day of preparing food for the banquet, it is time to clean up. There is a list of n jobs to do before the kitchen … Read More

## Cakewalk Codechef Solution

You are playing EVE Online. Initially, you have one dollar, but you have somehow acquired two cheat codes. The first cheat code multiplies the amount of money you own by 1010, … Read More

## Kisses & Hugs Codechef Solution

Princess Artapoelc greeted her guests by either kissing on the cheek (K) or hugging (H). From the first guest she kisses, she has a compulsion to necessarily kiss every alternate … Read More

## Chef and Employment Test Codechef Solution

Even though it was a little unexpected, Chef did it! He has finally opened a new restaurant! As you all know, to make everything go well, Chef needs employees (co-chefs … Read More

## Ciel and Receipt Codechef Solution

Tomya is a girl. She loves Chef Ciel very much. Tomya like a positive integer p, and now she wants to get a receipt of Ciel’s restaurant whose total price is … Read More

## Minimum Distance Codechef Solution

In Wolf town there are 2 big markets S and T. The distance between these markets is D. Chef Ciel would like to run 2 restaurants in Wolf town, where the first restaurant will be supplied by the … Read More

## Ciel and A-B Problem Codechef Solution

In Ciel’s restaurant, a waiter is training. Since the waiter isn’t good at arithmetic, sometimes he gives guests wrong change. Ciel gives him a simple problem. What is A–B (A minus B) ? Surprisingly, … Read More

## Chess Format Codechef Solution

Given the time control of a chess match as a+ba+b, determine which format of chess out of the given 44 it belongs to. 1)1) Bullet if a+b<3a+b<3 2)2) Blitz if 3≤a+b≤103≤a+b≤10 3)3) Rapid if 11≤a+b≤6011≤a+b≤60 4)4) Classical if 60<a+b60<a+b Input Format … Read More

## Chef and Serves Codechef Solution

In a regular table tennis match, the player who serves changes every time after 2 points are scored, regardless of which players scored them. Chef and Cook are playing a … Read More

## Chef and Way Codechef Solution

After visiting a childhood friend, Chef wants to get back to his home. Friend lives at the first street, and Chef himself lives at the N-th (and the last) street. Their … Read More

## Pintu and Fruits Codechef Solution

Chef went to Australia and saw the destruction caused by bushfires, which made him sad, so he decided to help the animals by feeding them fruits. First, he went to … Read More

## Chang and Bitwise OR Codechef Solution

Chang is a big fan of bitwise operations. As he was sitting in a boring lecture, he thought of a simple problem but had a tough time figuring out the … Read More