Marks Crisis!!!
Rakib got the result of his previous English exam. But he did very poor in the exam, and went to his...
A New Tree
Bob had N isolated nodes. He decided to connect the nodes by creating new edges and make a tree. So ...
Escape the Planet Earth
As you know earth is affected by corona virus. Situation becomes worse day by day .Almost 80% people...
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 ...
Killing Floor
$N (1 \leq N \leq 10^{18})$ robots have decided to take part on a battle royale. Every robot has a u...
Watercolor
Bob is the owner of a shop named "Color Maker". He has 256 types of watercolor in his shop. The type...
Lucky Shirt
Marjokes is a very famous comedy personality in Byteland. He is a poet, a writer, a singer and an ac...
The Multiplayer Action Game
Have you played the game Agar.io? According to wikipedia, Agar.io is a massively multiplayer action ...
Bob's Dilemma
Alice and Bob have been playing a game on Android phone. It is a PVP game. They can play against eac...
Min Value
You are given an array of N integers and q queries. In each query you are given an integer value x. ...
Poltu and Interesting Number
Poltu Loves interesting number. So he wants to find this type of number. The definition of an intere...
Escape Plan
Hey, you are stuck on prison and you have to get out soon. This prison has one way road and you can ...
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 ...
Crypto Gift
Professor invites his n friends on his birthday. He wants to reward all of them and make them happy....
ICPC World Final
ICPC (International Collegiate Programming Contest) World final is one of the most prestigious conte...
Yet Another Query Problem!
You are given an array $A$ of length $n$ consisting of integers between $1$ and $10^6$. You need to ...
Jenga Tower
Maybe you all are familiar with Jenga Game. "Jenga is played with 54 wooden blocks. Each block is th...
The Exceptional Artist
Irtiza is an extraordinary sketch artist. His obsession with perfection drives him to make every pix...
City of Burgerland
Have you ever heard of The Burgerland City? The city is full of burger shops. You will surely find s...
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 =...
Harry and Hermione - 2
[1 and 2 are completely different problems. Consider reading both.] The monsters are back again. Har...
Help Lazy Tareq
There is a boy named Tareq Abrar who is very lazy. He likes sleeping. He also likes eating. His moth...
Productive Employees
Congratulations on becoming the new boss of "Horizontal Company, branch: Sylhet"! But now you have a...
Answer the Queries
Given an array of N elements, indexed from 0 to N−1. Now you are given some queries in the form [L,R...
Toph uses cookies. By continuing you agree to our Cookie Policy.