XOR on Pascal
Let's define F(N) as following: F(N)=(0N​)⊕(1N​)⊕(2N​)⊕⋯⊕(NN​) You are given an integer N(0≤N≤105), ...
Playing With Stones
Kolu was playing with $N$ piles of stones. His target is to make all piles equal within $M$ moves, p...
Meena O Dosto Sele
Dosto sele Dipu and his friends used to disturb Rita Apu everyday on her way to school singing , " র...
Prime Spiral
You have to make a 2-D spiral square $N \times N$ grid with prime numbers. Sounds complicated? Well,...
Find NSUPS
Given a string s, find the number of subsequence in s which forms the word "NSUPS". A subsequence is...
ACT 1: Ash Counting Trees
Ash Ketchum has a weird rooted tree (read Notes sections if you don't know about tree data structure...
Arithmetic Sequence (Easy)
Arithmetic Sequence is a sequence of numbers where the difference between two consecutive numbers ar...
Video Game Pro
Shefin is playing a video game. In this game, there will be $N$ buildings in a row. $i^{th}$ buildin...
Man in the Queue
You are in charge of Khakha Bank Bashundhara Branch. Your branch has only one desk to serve the cust...
flash_7 Very Hard 26/29/71
Save BPL
Bangladesh Premier League (BPL) is one the most prestigious cricket tournaments. Talented players fr...
OCD Returns!
This problem author has OCD (obsessive–compulsive disorder). One day his teacher gave him an array o...
Magic Square
A little boy Towhid is good at mathematics. He solves a lot of mathematical equation regularly. He i...
National Flag
Today is the 16th December, a red letter day of our national history. The whole country equipped wit...
Jenia's Homework
Jenia is a very talented girl. She got homework from school. She is such a nerd who cries if she can...
Next Permutation
A sequence of $N$ distinct integers is called a permutation if all the integers are between $1$ and ...
That's 1 Minute See You Tomorrow
You may heard the name of Nas Daily, a Facebook page by a travel video blogger Nuseir Yassin. He cre...
Karim Meets Gollum
After hearing about Bilbo's Ring that he found in the Misty Mountains, Karim the Hobbit decided to e...
Description is Pathetic
Do you know what is the hardest part of creating a problem? Thinking and writing the description. Yo...
Maze Ball Game
Your friend Yulianna Karaulova, likes to play maze ball game. You are going make a DIY project to bu...
Poltu the Legend
Serajnagar M. A. Pilot Model High School is situated at Raipura, Narsingdi, Bangladesh. This school ...
Biswa and Restaurant Business
After huge success in Borhani business, Biswa has recently started restaurant business. He’s got the...
Sheldon's Obtuse Triangle
We all know Sheldon Cooper from The Big Bang Theory. Recently he got his Nobel Prize. He likes polyg...
I Hate Combinatorics!
Rick and Morty are being hunted by the galactic government. They ran away to the cell dimension. The...
Nothing’s more contagious than laughter
Gotham, a city full of criminals. But there is one who is more than just a criminal. He brings pure ...
Is This a Give-Away?
Once there lived an ancient mage named Farabi. He could always give perfect weather forecast. He nev...
Toph uses cookies. By continuing you agree to our Cookie Policy.