Harry and Hermione - 2
[1 and 2 are completely different problems. Consider reading both.] The monsters are back again. Har...
Most Difficult Problem Ever
You are given a function like below: long long F(int A, int B, int C, long long x) { long long res =...
City of Burgerland
Have you ever heard of The Burgerland City? The city is full of burger shops. You will surely find s...
Yet Another Query Problem!
You are given an array $A$ of length $n$ consisting of integers between $1$ and $10^6$. You need to ...
The Exceptional Artist
Irtiza is an extraordinary sketch artist. His obsession with perfection drives him to make every pix...
Jenga Tower
Maybe you all are familiar with Jenga Game. "Jenga is played with 54 wooden blocks. Each block is th...
ICPC World Final
ICPC (International Collegiate Programming Contest) World final is one of the most prestigious conte...
Escape Plan
Hey, you are stuck on prison and you have to get out soon. This prison has one way road and you can ...
Crypto Gift
Professor invites his n friends on his birthday. He wants to reward all of them and make them happy....
Making Football Teams
There are N football teams and each team has a positive number of players. You are given Q queries. ...
Hizitizi's Array Cutting
Hizitizi is a new character in our story. In every episode, he gets a task to do from his imaginary ...
Poltu and Interesting Number
Poltu Loves interesting number. So he wants to find this type of number. The definition of an intere...
Min Value
You are given an array of N integers and q queries. In each query you are given an integer value x. ...
Bob's Dilemma
Alice and Bob have been playing a game on Android phone. It is a PVP game. They can play against eac...
Watercolor
Bob is the owner of a shop named "Color Maker". He has 256 types of watercolor in his shop. The type...
The Multiplayer Action Game
Have you played the game Agar.io? According to wikipedia, Agar.io is a massively multiplayer action ...
Lucky Shirt
Marjokes is a very famous comedy personality in Byteland. He is a poet, a writer, a singer and an ac...
Killing Floor
$N (1 \leq N \leq 10^{18})$ robots have decided to take part on a battle royale. Every robot has a u...
XOR Partition
Neo has a hidden array A of n integers where 0 ≤ Ai ≤ 109 is satisfied for each i from 1 to n . You ...
Escape the Planet Earth
As you know earth is affected by corona virus. Situation becomes worse day by day .Almost 80% people...
A New Tree
Bob had N isolated nodes. He decided to connect the nodes by creating new edges and make a tree. So ...
Marks Crisis!!!
Rakib got the result of his previous English exam. But he did very poor in the exam, and went to his...
Largest Prime
A positive integer number n is called a prime number, if it is only divisible by 1 and n itself, whe...
Kitorp and His Love
Kitorp loves his wife Asiar(who is a problem solver as well) but he loves math more. To get his atte...
Spot It!
Have you played the game Spot it!? Though there are many ways to play this game, the basic rule is t...
Toph uses cookies. By continuing you agree to our Cookie Policy.