A Giveaway
Mr. Tom is the head of ICPC world final organizing committee. For the world final, he comes to Dhaka...
A Journey Towards One
Given N. You can perform 3 types of operations: Increase N by 1. Decrease N by 1. Divide N by 2, av...
Alice in Candyland
Alice came up with a new game. In this game called "Candy Quest", there is a NxN size 2D grid. In ea...
Aliens
19 February 2020, Unidentified flying object (UFO) has captured student’s attention on top of the CS...
Alternative Subsequence: The Extension
Recall that the sequence b is a subsequence of the sequence a, if b can be derived from a by removin...
Anina's Christmas Tree
This Christmas Anina and her friends have decided to make some Christmas trees to decorate her town....
Array Partition
Today Leena learnt about subarrays and partitions. Given an array $A$, a subarray of this array is a...
Babur Biye
Babu is getting married. Babu's fiancé is a prominent programmer of Bangladesh. She told Babu to sol...
Bikpik Colony
Bikpiks are very small aliens. Day by day they are becoming very dangerous for human being. They liv...
Birthday Present?!
As everyone gifts graphs or strings to people on their birthdays, Oyshee’s friends decided to do som...
Brain Pleased
Like most of the other teenage girls, Shabnam loves to generate strings. But recently, she discovere...
Buckets of Water
In Abby's area the water is available in the tap only from 6AM to 8AM. So, Abby thought she would st...
Burger King
Every day, more than 11 million guests visit BURGER KING® restaurants around the world. And they do ...
Cent Savings
To host a regional contest like NWERC a lot of preparation is necessary: organizing rooms and comput...
DP Moderate 4/5/5
Chocolate
There is a shop named Chocolove in the Codeland. There are many chocolates in the shop. Each chocola...
Convert String Into Palindrome
A palindrome is a word, number, phrase, or other sequence of characters which reads the same backwar...
Counting Murgis
Ever since that wicked thief took away some of her murgis (hens, that is), Meena was ever anxious th...
COVID-19 Outbreak
COVID-19 outbreak in Atlantis is so bad that the government is forced to lock down the whole country...
Cutting Bamboos
There are $n$ bamboos in a row. Khan the bamboo cutter is going to cut them all one by one. He can d...
Defeat in Final Battle
Sifatul Islam is a great fan of Iron man. He is planning to make a suit for iron man. The suit can s...
Demonic Subset
Lets not waste your time with long tiring problem statement and just go straight to the point. You a...
Distinct Permutations
You are given two binary strings A and B. Recall that binary string is a non-empty sequence of chara...
Divisible by 3
You will be given a string containing digits. You have to say the number of sub strings whose sum is...
Divisible LCM
You have a sequence a1​, a2​, a3​, …, an​ of n integers and q queries. In each query, you are given ...
Dominoes Forever
Once when I was little, my father took me to a tobacco shop! It is surprising, but true. He asked th...
Toph uses cookies. By continuing you agree to our Cookie Policy.