Be Like Hasib
Hasib, the famous programmer, uses a little game when he teaches Binary Search to his students. He r...
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...
Largest Prime
A positive integer number n is called a prime number, if it is only divisible by 1 and n itself, whe...
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...
Buildings
There are n buildings in a row. The height of the i-th building is hi​. You have ৳k. It is the amoun...
Complex Operations
You are given an array A of length N. You have to perform two different types of operations. In the ...
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 ...
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...
Penguins of Madagascar
One day the penguins of Madagascar found a string S... Wait... Wait. Actually the setter of the prob...
Balanced Relief
Thanos just finished his relief work. We all know that Thanos loves balanced things. So he finds som...
Exists or Not Exists
You will be given some numbers. Then there will contain some queries. In every query there will be g...
ICPC World Final
ICPC (International Collegiate Programming Contest) World final is one of the most prestigious conte...
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...
Help Chokro
Pias and Chokro are good friends. Pias's birthday is coming soon. So, Chokro wants to gift Pias an a...
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...
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 =...
Mushrur Injured in Singara Blast
Mashrur Hossain, a programmer, came to Bot-toli from GEC yesterday to attend an event organized by t...
Marks Crisis!!!
Rakib got the result of his previous English exam. But he did very poor in the exam, and went to his...
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...
Bob's Dilemma
Alice and Bob have been playing a game on Android phone. It is a PVP game. They can play against eac...
Jenga Tower
Maybe you all are familiar with Jenga Game. "Jenga is played with 54 wooden blocks. Each block is th...
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...
Lucky Shirt
Marjokes is a very famous comedy personality in Byteland. He is a poet, a writer, a singer and an ac...
Min Value
You are given an array of N integers and q queries. In each query you are given an integer value x. ...
Toph uses cookies. By continuing you agree to our Cookie Policy.