Making Friends
Byang is going to join a new school. His new class has N students. Each of the students are identifi...
Math and Watermelons
Your friend has M watermelons. He doesn't want to share them with anyone, but let's imagine he would...
Maximum Distance
You know it’s hard seeing your favorite person being interested in another one instead of you. At th...
Meena Meets The Marauders
December 14, 1975 Hogwarts School of Witchcraft and Wizardry It’s been a long long day. The Marauder...
MEXFN
This is a straightforward problem without much story behind the problem. You have to calculate MEXF...
Missing Number
Given the sum of four numbers and three of those numbers, find the missing number. All four numbers ...
Misti Chor
Bhootu likes to eat misti. As he is a mischievous kid, he has decided to steal misti from the nearby...
Mixed Fractions
Given an improper fraction (as the numerator $N$ and the denominator $D$), determine and print it in...
ML Vs AI
Nowadays, CS students try to learn Machine Learning and Artificial Intelligence even before learning...
Most Difficult Problem Ever
You are given a function like below: long long F(int A, int B, int C, long long x) { long long res =...
Mushrur Injured in Singara Blast
Mashrur Hossain, a programmer, came to Bot-toli from GEC yesterday to attend an event organized by t...
NAC-SAC Game! (Easy)
Akash and Guru are playing an interesting game. They are standing at the two ends of the NAC-SAC bri...
NAC-SAC Game! (Hard. Well, Not Really. 😛)
Remember the game played by Akash and Guru on the NAC-SAC bridge? (For those cannot remember, Akash ...
N Factorial!
I like short descriptions and I think you so too. Let's say you have a number, N. Now try to find th...
Niko Goes Farming
Niko has completed his degree in CSE from North South University. Now he has been tenaciously lookin...
Nodes and Depth
From the above figure, the number of nodes for the first three depths are 3, 9, and 27. You will b...
Nusrat's Treat
We all know how much Nusrat loves chocolate! She gets a lot of chocolate from her friends and family...
Once Upon a Time in Dhaka
Dhaka is one of the mega cities of Bangladesh. At different times, Dhaka was entitled differently by...
Opera & B2G1
“Don’t practice until you get it right. Practice until you can’t get it wrong” Bangladesh is the ho...
Palindromic CSEmpur
Welcome to CSEmpur once again! It has been observed that a good number of inhabitants like palindrom...
Pascal's Triangle
Given an integer N, print the sum of the Nth row of the Pascal's triangle. In mathematics, Pascal's ...
Pera in CSEmpur
Who does not like a short and precise problem statement? Atleast everyone in CSEmpur does. You are g...
Permutations and Divisors
Let P be a permutation of length n where each value from 1 to n occurs exactly once. A subsequence o...
Perplexity of Permutations
A permutation of N integers from 1 to N is an array where each number has appeared exactly once in t...
Pie Are Squared
Given the radius of a circle, calculate and print its area. The area of a circle can be computed usi...
Toph uses cookies. By continuing you agree to our Cookie Policy.