Solve This Giveaway Problem First
This problem is straightforward and easy. You will be given two integers N, P and a list L of positi...
Beauty of AP
Solving problems is fun in competitive programming, right? So let’s solve a fun task today too :P. 1...
Kitchen Decorate
Shira has now decided to decorate her kitchen of height H and width W more precisely, she wants to t...
Squares Inside Square
Hello , Programmers. There is one thing that I don't like about competitive problem solving, which i...
The Greedy Mathematician
Once upon a time, there lived a man called Mahi the mathematician. He was banned from his kingdom be...
Irregular Is Tough, Regular Is Easy!
Dr. Bari is working on some chemical formation. He believes that chemicals and shapes that are regul...
I Am Good 2.0
I am trying to become a good guy, giving contestants as little pain as possible. So, this problem is...
I Love 0
Since childhood Abir loved to play with numbers, one day he was counting numbers from 1 to 100 and h...
Crypto-Number
Walt and Gus have a great rivalry. Recently Gus has developed a cryptographic system. Walt is trying...
This Is Too Hard ☹
Many many years ago there was a small country. And all the people there were very weird. They liked ...
The Easiest Problem
Tareq Abrar is a lazy programmer. He has a friend named Aminvai, who is famous for his amazing skill...
How Many Kids Are in the Circle?
A group of kids are standing in a circle and playing catch the ball. For fair play, they always main...
Playing With Aladdin
Aladdin is a fictional character and the titular protagonist of Walt Disney Pictures' 31st animated ...
Bad Neighbors 2
As some of you already know, Nocu City has a history of having bad neighbors. These bad ones, take a...
Sum of GCD and LCM
The greatest common divisor (GCD) of two integers, is the largest integer that divides both of the i...
The Story of Two Friends
There are two friends F1 and F2 in a city. They both are student of FCB High School. Also, they resi...
Sofdor Ali and Radioactivity
Sofdor Ali is the craziest and clumsiest scientist in Bangladesh. He tries to maintain the safety me...
Perfect Points
Perfect lines are the lines y=mx+c such that m and c are positive integers. Perfect points are the p...
Composite Facts
Let's define two functions F and S: F(n) = 1 + n! S(n,m) = Sum of first m non-prime integers which ...
M-Sequence
A sequence is called M-sequence if after removing zero or more elements from the sequence the GCD of...
Delete the Array
There is an array of size n. You will be given an integer x. In each move you have to subtract x or ...
Mr Makor And His Friends
Mr Makor has a set S of n integers. He calls a sequence of length k special if every element of the ...
Game of Palindromes
In a popular computer game, Game of Palindromes also known as GOP there is a city called Palindesh. ...
Dilu's Library
Dilu is a young boy who loves mathematics. He recently learned how to code. He was interested in sol...
BigNumSum
You will be given two numbers of 40 digits each. You will have to print the summation of these two n...
Toph uses cookies. By continuing you agree to our Cookie Policy.