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...
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 ...
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...
Be Like Hasib
Hasib, the famous programmer, uses a little game when he teaches Binary Search to his students. He r...
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...
Mind Flayer Has Attacked Again!
Mind flayer, the shadow monster has attacked the town of Hawkins again. This time, the mind flayer h...
Poltu and Minimum Spanning Tree
Boltu gave a simple task to his best friend Poltu. You are a good programmer. So, Poltu hired you to...
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...
Exists or Not Exists
You will be given some numbers. Then there will contain some queries. In every query there will be g...
Complex Operations
You are given an array A of length N. You have to perform two different types of operations. In the ...
Penguins of Madagascar
One day the penguins of Madagascar found a string S... Wait... Wait. Actually the setter of the prob...
Straightforward
No gossip. In this problem I will just say what to do. Initially, you will be given a bracket sequen...
Help Chokro
Pias and Chokro are good friends. Pias's birthday is coming soon. So, Chokro wants to gift Pias an a...
Buildings
There are n buildings in a row. The height of the i-th building is hi​. You have ৳k. It is the amoun...
Angels and Demons
You are walking at midnight along a road that has N checkpoints numbered from 1 to N from left to ri...
Inspired by Bermuda Triangle
Do you know about Bermuda Triangle? The Bermuda Triangle is a mythical section of the Atlantic Ocean...
Sofdor Ali and Attack Optimization
Tuki and Jha is in the middle of an interplanetary war and their base is under drone attack! They ar...
Optimarble!
You might be familiar with marbles from childhood having beautiful memories playing with them. For t...
The Story of Stringland
The king of Stringland is employing an elite force of undercover agents to protect the kingdom from ...
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...
Master Plan
Gakra Miah is a Wollywood movie lover. He watches movies almost everyday. He has watched so many mov...
I Scream, You Scream!
Meem loves ice cream cones. So much so that she created an ice cream stand to share the joy of ice c...
M-Sequence
A sequence is called M-sequence if after removing zero or more elements from the sequence the GCD of...
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...
Productive Employees
Congratulations on becoming the new boss of "Horizontal Company, branch: Sylhet"! But now you have a...
Toph uses cookies. By continuing you agree to our Cookie Policy.