Exists or Not Exists
You will be given some numbers. Then there will contain some queries. In every query there will be g...
Balanced Relief
Thanos just finished his relief work. We all know that Thanos loves balanced things. So he finds som...
Penguins of Madagascar
One day the penguins of Madagascar found a string S... Wait... Wait. Actually the setter of the prob...
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...
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 ...
Complex Operations
You are given an array A of length N. You have to perform two different types of operations. In the ...
Buildings
There are n buildings in a row. The height of the i-th building is hi​. You have ৳k. It is the amoun...
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...
Largest Prime
A positive integer number n is called a prime number, if it is only divisible by 1 and n itself, whe...
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...
Toph uses cookies. By continuing you agree to our Cookie Policy.