Easy Summation
Little Arya is growing up fast and now she can count the numbers. The problem with her counting is t...
Hasinur's Mission!
Let me tell you something about Hasinur: He is a religious person. He prays 5 times a day. He loves...
Arithmetic Sequence (Easy)
Arithmetic Sequence is a sequence of numbers where the difference between two consecutive numbers ar...
Arithmetic Sequence (Hard)
Arithmetic Sequence is a sequence of numbers where the difference between two consecutive numbers ar...
Math Very Easy 274/292/483
Obligatory IDPC Problem
There are n people busy with arranging the upcoming Inter Department Programming Contest (IDPC) 2016...
Harry Potter and the Vault of Gringotts
"There was a break-in of Gringotts Wizarding Bank on 1 May, 1998, during the height of the Second Wi...
Building Boundaries
Maarja wants to buy a rectangular piece of land and then construct three buildings on that land. The...
Largest Prime
A positive integer number n is called a prime number, if it is only divisible by 1 and n itself, whe...
Count the Odds
Sometimes, contestants tend to look for patterns in problem descriptions. They try to figure out the...
Game of Gnomes
The enemy and their massive army is approaching your fortress, and all you have to defend it is a le...
Gutibaji on Chessboard
Let there be a chessboard of size N×M, and only one bishop in a cell (x,y). How many cells can the b...
Game, Game Everywhere
Binary and Ternary are playing a game. In this game, they initially choose an array with N elements....
XOR Master
Imam has been participating in online programming contests for years. His goal is to become a "Maste...
Incremental Induction
The Nordic Collegiate Pong Championship (NCPC) is an insanely competive tournament where every conte...
Bad Boy Ekhlas
Ekhlas is a bad boy, not the type of bad that you generally admire. When he was little, his primary ...
Color The Graph
You are given an acyclic, bidirectional graph with N nodes and M edges. The nodes are numbered from ...
Scary Big Chessboard
Our friend Alice got stuck in a big chessboard. The chessboard has N rows and N columns. Some cells ...
Mirror World
Imagine a world inside mirror, where everything becomes reverse. Left hand becomes right hand, right...
Kitchen Combinatorics
The world-renowned Swedish Chef is planning a gourmet three-course dinner for some muppets: a starte...
Compute the Combination
Let P = C(N,0) - C(N,1) + C(N,2) - C(N,3) + ... + C(N,N); where C(n,r) is "n choose r". You are give...
Geometry Forever
Fear no more, this is a problem of geometry! When Moyna was little, he had a math teacher named Shuk...
Challenge From Mr. Professor
One Day Mr. Professor was taking His schedule class on Discrete Mathematics. In this lecture, He was...
Magic Square
A little boy Towhid is good at mathematics. He solves a lot of mathematical equation regularly. He i...
Red and Green
Suppose, there is an array of N integers. Each index of the array is either red or green. The first ...
Game Show
Alex is participating in a game show. Mr. Phil is the host of the game. Alex is provided with an arr...
Toph uses cookies. By continuing you agree to our Cookie Policy.