Color The Graph
You are given an acyclic, bidirectional graph with N nodes and M edges. The nodes are numbered from ...
Combination Lock
Imagine a Combination Lock - If you set the numbers to a preset combination (passcode), the lock wi...
Complex Tashreef
Tashreef finally received the Zuinness Journal of Galactic records recognition for being the most co...
Composite Facts
Let's define two functions F and S: F(n) = 1 + n! S(n,m) = Sum of first m non-prime integers which ...
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...
Cook a Dish
Have you ever cooked something? No? Not a problem! Whenever you try to cook something, you need some...
Co-Prime Enemy Pair
Two integers A and B are known as co-prime or relatively prime if their greatest common divisor GCD ...
Corona Virus Attacked Kittuk
A large number of people are being infected with the Corona virus in Kittuk country. In that situati...
Correct the Sieve
Sieve of Eratosthenes is a fast algorithm for finding prime numbers in larger ranges. According to W...
Counting is Difficult 2
East West University Computer Programming Club (EWUCoPC) is arranging an Intra-University Programmin...
Counting Matrices
Given a natural number N and a prime p, let’s define a special set Zp​={0,1,2,…,p−1}. Now count the ...
Counting Murgis
Ever since that wicked thief took away some of her murgis (hens, that is), Meena was ever anxious th...
Counting Subsets
Mr. Meseeks has just turned evil and is on his way to destroy the universe. To stop him Rick and Mor...
Counting Triplets
Given an array of N integers A1​, A2​, A3​, …, AN​. Vector has to find the number of Fibonacci Tripl...
Count the Odds
Sometimes, contestants tend to look for patterns in problem descriptions. They try to figure out the...
Crypto-Number
Walt and Gus have a great rivalry. Recently Gus has developed a cryptographic system. Walt is trying...
Day-Month-Year
Meena is a talented girl in her class. She likes to brainstorm in her leisure times. One day, she wa...
Delete the Array
There is an array of size n. You will be given an integer x. In each move you have to subtract x or ...
Demonic Subset
Lets not waste your time with long tiring problem statement and just go straight to the point. You a...
Dengue
Once upon a time there was a king. He had a huge kingdom and the king was very kind. All of his subj...
Diagonal Traversal
You are given an n×m grid. You can go from point (x1​,y1​) to any point (x2​,y2​) of grid if and onl...
Dilu's Library
Dilu is a young boy who loves mathematics. He recently learned how to code. He was interested in sol...
Dinner With Aminvai
Aminvai is a famous programmer of the world. He has a lot of fans & followers. Unfortunately, he has...
Distribution of Relief
"Please follow all instructions provided by your local health authorities." Due to Coronovirus epide...
Divide Candy Again
There are N boxes with candies numbered from 1 to N. The number of candies in the boxes numbered 1 t...
Toph uses cookies. By continuing you agree to our Cookie Policy.