Divisible LCM
You have a sequence a1​, a2​, a3​, …, an​ of n integers and q queries. In each query, you are given ...
Powerful Number
Efa loves numbers. She thinks a number is powerful if it can be expressed in the form xy where x and...
Misti Chor
Bhootu likes to eat misti. As he is a mischievous kid, he has decided to steal misti from the nearby...
The Matrix
In the metaphysical world of the Matrix, different people make their chessboards with their own spec...
Counting Matrices
Given a natural number N and a prime p, let’s define a special set Zp​={0,1,2,…,p−1}. Now count the ...
Object Detection
Object detection is a computer vision technique that is used to identify and locate objects in an im...
Once Upon a Time in Dhaka
Dhaka is one of the mega cities of Bangladesh. At different times, Dhaka was entitled differently by...
Bi-Element Subsequence
You are participating in a game show. In the final round, the host pulls up a large sequence of posi...
Yet Another Hello World
The greatest company, Pied Piper, is developing encryption systems. The company has already built Md...
Jimmy and Jamy
Jimmy and Jamy are two brothers. They like to play with colored marble. Jimmy has N boxes with three...
Magic Number Count
Magic number is an integer number, which is only divisible by itself and total number of divisor wil...
GCD Grid
You are given two integers N and M. You have to make a grid of N∗M size by following these rules: E...
Choice Is Yours
For not participating on contests regularly, Hasnaine (read Has9) has decided to kill Santo. But nob...
Learning New Algorithms Every Day
Shak is a new programmer and he knows nothing about algorithms. He has made a plan and decided to le...
Hidden Graph
There is an unweighted, undirected hidden graph. You are given an integer range from L to R. There a...
Complex Tashreef
Tashreef finally received the Zuinness Journal of Galactic records recognition for being the most co...
GCD and Sum
Congratulations! You’ve been hired in “Buggy Software Ltd.” And you’ve been already given your first...
Walk on the Grid
There is a grid of size $R\times C$ where $R = $ Number of rows and $C = $ Number of columns. You sh...
LCM
Given an integer $L$, you have to find the product of two different integers such that their LCM (Le...
Meeting Table
Let there be three groups of people waiting to attend a meeting. There are $\textbf N$ people in eac...
Expected Values From Bubble Sort
Bubble sort is a sorting algorithm that can sort an array of numbers in increasing order. In each of...
Zootopia
Judy Hopps , a rookie officer joined Zootopia Police Department. She was fond of working sincerely f...
BigNumSum
You will be given two numbers of 40 digits each. You will have to print the summation of these two n...
Poltu and Digit Product
You are given two integer L and R. You have to find the summation of digit product of all number fro...
Poltu and Trailing Zero
Poltu gives a problem to his friend Boltu. The description is given below: You are given an integer ...
Toph uses cookies. By continuing you agree to our Cookie Policy.