XOR Master
Imam has been participating in online programming contests for years. His goal is to become a "Maste...
Who Gets the Money!?
Who doesn’t get happy after getting money in the pockets of clothes before washing them? During this...
Scary Big Chessboard
Our friend Alice got stuck in a big chessboard. The chessboard has N rows and N columns. Some cells ...
Color The Graph
You are given an acyclic, bidirectional graph with N nodes and M edges. The nodes are numbered from ...
Scholarship
Your school is going to start a new scholarship program. To apply for this scholarship you have to w...
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...
Magic Square
A little boy Towhid is good at mathematics. He solves a lot of mathematical equation regularly. He i...
Mirror World
Imagine a world inside mirror, where everything becomes reverse. Left hand becomes right hand, right...
Elementary Arithmetic - 2
Long ago, after learning how to add two numbers, Shakib came to know about multiplication. Multiplic...
Bad Neighbors
In the strange neighborhood of Nocu, a lot of people lives pretty happily, or so they think. Like mo...
Level Up
You are playing a game that has 16 levels. You start with level 1 and after gaining a certain amount...
Bi-Element Subsequence
You are participating in a game show. In the final round, the host pulls up a large sequence of posi...
Spot It!
Have you played the game Spot it!? Though there are many ways to play this game, the basic rule is t...
SUM Equals LCM
Given N, print a sequence of N positive integers A1​,A2​,…,AN​ that satisfy the following conditions...
Red and Green
Suppose, there is an array of N integers. Each index of the array is either red or green. The first ...
Freezed Standings
Team Depuradores and Team Resolvers represented their university in the ICPC world finals 2021. Depu...
Game Show
Alex is participating in a game show. Mr. Phil is the host of the game. Alex is provided with an arr...
How Many Ways?
Regular problem solvers starts their journey by solving ad hoc and number theory. After getting the ...
The Matrix
In the metaphysical world of the Matrix, different people make their chessboards with their own spec...
Mina and Raju
Everyone know about Mina & Raju. They are siblings as well as good friend. The friend-circle of Mina...
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 ...
Pudding and Coins
Pudding is playing a game that has n levels. There are a total of n(n+1)/2 coins spread out among th...
Meera and Solo Chocolates
Meera bought candies from the store. She is now going to distribute those among her N friends. She m...
String in a Grid 2
Prof. Bari loves to play with string. He is also very skilled in drawing. One day he was drawing a g...
GCD, Divisor, Count!
I like short statements and you should too so here's the statement without further ado You are give...
Toph uses cookies. By continuing you agree to our Cookie Policy.