A New Tree
Bob had N isolated nodes. He decided to connect the nodes by creating new edges and make a tree. So ...
Angels and Demons
You are walking at midnight along a road that has N checkpoints numbered from 1 to N from left to ri...
An Obvious Interactive Problem
I pick a number. You guess it. You can guess at most 25 times. For every guess you make, I will tell...
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...
A Super Easy Problem - "Array Query"
Let's get into the problem directly without much description this time :D . You are given an array A...
Average the Array
You are given an array A of length N. You have to choose a subset S from given array A, such that av...
Balanced Relief
Thanos just finished his relief work. We all know that Thanos loves balanced things. So he finds som...
Beautiful or Not?
Rakib & Raghib are two friends. One day Rakib gave an array of numbers to Raghib and told him to mak...
Beauty Factor
Mehedi and Burhan are two friends. Yesterday they have participated in a class of sorting. Actually ...
Be Like Hasib
Hasib, the famous programmer, uses a little game when he teaches Binary Search to his students. He r...
Bob's Dilemma
Alice and Bob have been playing a game on Android phone. It is a PVP game. They can play against eac...
Buildings
There are n buildings in a row. The height of the i-th building is hi​. You have ৳k. It is the amoun...
City of Burgerland
Have you ever heard of The Burgerland City? The city is full of burger shops. You will surely find s...
Complex Operations
You are given an array A of length N. You have to perform two different types of operations. In the ...
Crypto Gift
Professor invites his n friends on his birthday. He wants to reward all of them and make them happy....
Dividing the Gifts
Today is a very good day in CSEmpur because Tuktuki has bought N gifts! Tuktuki wants to give these ...
Do You Know LIS?
Alam has an array a with n elements a1​,a2​,…,an​ and an integer x. For each i (1≤i≤n−1) index i and...
Easy Sequence 1
Let’s define an easy sequence F. Where: F(1)=1 F(2X)=F(X)2+1 F(2X+1)=F(X)×F(X+1)+2 Here X is a posit...
Eet Izz Phet!
A long long time ago, I left the country that was my home and with my head full of brains and shoes ...
Escape Plan
Hey, you are stuck on prison and you have to get out soon. This prison has one way road and you can ...
Escape the Planet Earth
As you know earth is affected by corona virus. Situation becomes worse day by day .Almost 80% people...
Exists or Not Exists
You will be given some numbers. Then there will contain some queries. In every query there will be g...
Harry and Hermione - 2
[1 and 2 are completely different problems. Consider reading both.] The monsters are back again. Har...
Help Chokro
Pias and Chokro are good friends. Pias's birthday is coming soon. So, Chokro wants to gift Pias an a...
Help IKRI
Ikri has a binary string s of length n. (each character of s is either 0 or 1) The weight of the bin...
Toph uses cookies. By continuing you agree to our Cookie Policy.