Kingdom of Equality
There is a kingdom called DomKi. There are N cities and N – 1 bidirectional roads in DomKi. The citi...
Help to Be Happy
A country named Mueawin has one or more villages and one or more people live in every village. Two p...
Plus Ultra!!
UA high school is one of the most prestigious schools in Japan that aims to train future heroes in a...
Mickey the Magician
Mickey the magician is working on a vaccine for COVID-19. But he is not sure if the vaccine which is...
Betting Business
You have opened a new betting business. You have decided that you will accept bets on the upcoming C...
Budget Tour
Dipu Bhai lives in a country called Chocoland. There are n cities in Chocoland. The cities are numbe...
Efa & Her Array
Efa has received an array a1​,a2​,a3​,…an​ of n integers as her birthday gift. Her younger sister Ta...
The Foolish Hunter
Abul the hunter goes to X number of places to hunt animals every day. In every place, there are Ynum...
The Cipher
In an ancient civilization, shrouded in the mists of time, there existed a group of mathematicians k...
Reverse Hash
Binary strings are strings that can only have 0 or 1 as the characters. The hash value of a string i...
Final Days of Goldfinger
We see agent Bond once again being called in time of a great need. The vile criminal Auric Goldfinge...
Biswa and Restaurant Business
After huge success in Borhani business, Biswa has recently started restaurant business. He’s got the...
Magical Pascal
Given an integer N, find the number of elements which are even in the first N rows of the Pascal's t...
Robin Sparkles
Robin Sparkle went to the mall one day. While shopping, she remembered that she has a homework due t...
Life Is Dark and Full of Error
The problem title doesn't mean anything, right? Wrong! It's a fact! Anyway, let's get to business. T...
On the Sea
Cherry isn't feeling well right now as she found a problem that she couldn't solve. So she started t...
Binary Rhodium
Xenon is a great alchemist. Recently, he has decided to perform a special type of transmutation. But...
Building the Number
This is a straight-froward problem. You will be given N. You have to find the expected value of buil...
LFR
In this year's RoboFest, there a segment called LFR(Line Follower Robot) contest. An LFR contest is ...
Incremental Induction
The Nordic Collegiate Pong Championship (NCPC) is an insanely competive tournament where every conte...
LCM Divisible Subsequence
You’ll be given an array of $N$ integers and two more integers $K$ and $M$. You have to find the num...
Path Intersection Extended
Do you remember the problem from ICPC Dhaka Regional 2018 named $Path$ $Intersection$ by Md. Imran B...
Puzzle of 1's and 0's
There is a rectangular puzzle board containing N×Mnumber of places. Each place contains a number: ei...
Repeating Units
A number is called repunit (Repeating Units) if the number is made of only 1’s, uch as 1,11 or 11111...
Static Tree
You are given a tree containing N vertices. The vertices are numbered from 1 to N. A tree with N ver...
Toph uses cookies. By continuing you agree to our Cookie Policy.