Village Fair 2

There are N houses in a village far away from here. They are numbered from 1 to N. For this problem ...

Plant Trees, Save Life

There are n students in a school. Some of them are friends with each other. You want to make the sch...

Keep Moving

Balurmath is a city which has N interesting tourist spots, which are connected between themselves by...

Explosion

There is a house named Larcana. It is a very weird house .There are exactly N rooms in total and bet...

Traveling Policy of Ajobdesh

In Ajobdesh, there are multiple cities and one of them is considered as the capital city. Obviously,...

Preparing for War

There were N cities in England. Each contained a warrior with skillset equal to X. All the cities we...

Help to Be Happy

A country named Mueawin has one or more villages and one or more people live in every village. Two p...

Kingdom - Great Roads of Destiny

Shin wants to be the “Great General of the Heaven”. It is his dream. But becoming a “Great General o...

Bad XOR 2 (Hard)

So after successfully becoming many people’s nightmare, XOR has struck again, this time to haunt you...

Sofdor Ali's Black and White Tree

Sofdor Ali loves Computer Science. He prefers hexadecimal number system to decimals, just because it...

Kingdom of Code

Kingdom CODE is the most peaceful place in the universe. King NOVOSH and Queen ALMIDA is ruling this...

Prime Avoider

Mr. X is a friend of Hafiz bhai. Mr. X loves to play with numbers in his leisure but he hates prime ...

Darth Vader and 3PO on a Tree!

Did you watch Star Wars yet? No? You should in your free time. Now back to Darth Vader and 3PO. Dart...

Circuit Breaker

In your free time, you like to design various electrical circuits to give a hard time to your local ...

War in the Wizarding World

There is a deadly war going on between two countries (Bitland and Byteland) in the wizarding world. ...

A Boring Game

Alice and Bob are playing a game with a tree with n nodes. Alice always plays first, and the two pla...

Gold Mines

The city of gridland is a grid with n rows and m columns. The city can be divided into n*m cells. A ...

Haunting of Herobrine

Herobrine’s horror stories are known by many, but only a few dares to speak that name out loud, for ...

Road Minister Techboy

Techboy is appointed as the minister of roads and highway in his country Better-Not-Name-It. Now he ...

Big Bang Theory

Dr. Sheldon Cooper is working on a project that works on the 2D concept of the universe. In this pro...