Problems by shefin

Binary Rhodium
Xenon is a great alchemist. Recently, he has decided to perform a special type of transmutation. But...
Chocolate
There is a shop named Chocolove in the Codeland. There are many chocolates in the shop. Each chocola...
Bitmask, DP Moderate 11/14/31
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...
Distinct List
Byteland has a network of n computers that forms a tree structure. A tree is a connected graph that ...
Moderate 4/6/6
Easy Prediction
Alice and Bob have an array a of n integers. They decide to play a game with the array. In one move,...
GPU-Business
You are a businessman who is fond of Vinia GPU. You buy Vinia GPUs from Byteland and sell them to Bi...
Hououin Kyouma!
Okabe Rintarou, the mad scientist is doing research to find the most desired Steins Gate. Besides be...
Is Bita Happy?
Bita has learned bitwise-operations recently. She is doing some experiments with these operations no...
Many Paths, Many Costs
Alice and Bob are visiting Byteland. They are observing the map of this country. Surprisingly, the m...
Mind Flayer Has Attacked Again!
Mind flayer, the shadow monster has attacked the town of Hawkins again. This time, the mind flayer h...
No Expectations!
You have a jug and n mugs. The jug’s capacity is c liters and the ith mug’s capacity is ai​ liters. ...
Moderate 2/8/22
Painful Giveaway!
Shahwat is a very good problem solver. He is very famous in his city. In any problem, the mayor asks...
Rik, the Space Traveler
Mr. Rik is a famous space traveler. He lives in a galaxy named Victa. There are many planets in this...
Subset of Master Shifu
While traveling in dreamland, you've met the highly skilled master of kung fu, "Master Shifu". As yo...
Moderate 3/4/21
Team Forming
Ben is the instructor of a camp. He is forming several teams consisting of the students of the camp....
The Assignment
Bolt is working at a prominent company called Icefire. He has been given a task for evaluation. The ...
The Multiplication
Nafis is working on a mathematical project. But he is stuck on a step of it. In this step, numerous ...
Watercolor
Bob is the owner of a shop named "Color Maker". He has 256 types of watercolor in his shop. The type...
XOR Tree
You are given a tree with N vertices. A tree is a connected undirected graph without cycles. The tre...
DFS, Tree Moderate 17/19/56
Yet Another XOR Tree Problem
You are given a tree with N nodes. A non-negative weight is assigned to each edge of the tree. Let’s...
Toph uses cookies. By continuing you agree to our Cookie Policy.