M-Sequence
A sequence is called M-sequence if after removing zero or more elements from the sequence the GCD of...
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...
Master Plan
Gakra Miah is a Wollywood movie lover. He watches movies almost everyday. He has watched so many mov...
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...
The Story of Stringland
The king of Stringland is employing an elite force of undercover agents to protect the kingdom from ...
Optimarble!
You might be familiar with marbles from childhood having beautiful memories playing with them. For t...
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...
Inspired by Bermuda Triangle
Do you know about Bermuda Triangle? The Bermuda Triangle is a mythical section of the Atlantic Ocean...
Angels and Demons
You are walking at midnight along a road that has N checkpoints numbered from 1 to N from left to ri...
Buildings
There are n buildings in a row. The height of the i-th building is hi​. You have ৳k. It is the amoun...
Help Chokro
Pias and Chokro are good friends. Pias's birthday is coming soon. So, Chokro wants to gift Pias an a...
Straightforward
No gossip. In this problem I will just say what to do. Initially, you will be given a bracket sequen...
Penguins of Madagascar
One day the penguins of Madagascar found a string S... Wait... Wait. Actually the setter of the prob...
Complex Operations
You are given an array A of length N. You have to perform two different types of operations. In the ...
Exists or Not Exists
You will be given some numbers. Then there will contain some queries. In every query there will be g...
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...
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...
Mind Flayer Has Attacked Again!
Mind flayer, the shadow monster has attacked the town of Hawkins again. This time, the mind flayer h...
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...
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...
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 ...
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...
Spot It!
Have you played the game Spot it!? Though there are many ways to play this game, the basic rule is t...
Mushrur Injured in Singara Blast
Mashrur Hossain, a programmer, came to Bot-toli from GEC yesterday to attend an event organized by t...
Toph uses cookies. By continuing you agree to our Cookie Policy.