Buy Two, Get One Free
During the Covid-19 pandemic, the members of the Demon Slayer Corps are relaxing at their own houses...
Two's Company, Three's a Crowd
n racers have competed in a Formula 1 racing tournament. Given the amount of time taken by each driv...
The Lion Queen
A lioness is trying to hunt down a buffalo. The lioness spots a buffalo a metres away. As soon as sh...
Adorable String <3
There is a tie for 1st position in House Cup Tournament between house Gryffindor & Slytherin. The Ho...
Factorial Generator
Mr. Ong wants to develop a factorial generator machine, which input takes as a 62-bit integer, and o...
Shopping Mania
Shapla and Jui have entered the final round of Shopping Mania, an annual shopping game played by two...
Rotation and Queries
You will be given a string S consisting of lowercase English characters and N queries. In each query...
Easy Prediction
Alice and Bob have an array a of n integers. They decide to play a game with the array. In one move,...
Digits of Pi
Let’s talk about one fascinating fact about circles. For that, let’s perform the following experimen...
Old Wives' Game
Kadambari wants to test the brains of the new bride Mrinalini. So she proposed the infamous Old Wive...
GPU-Business
You are a businessman who is fond of Vinia GPU. You buy Vinia GPUs from Byteland and sell them to Bi...
Ator Ali's Income
Ator Ali loves to make money. He does not care whether his source of income is good or evil. As his ...
Invite the Heroes
There are n cities numbered from 1 to n in a country. Two consecutive cities are connected by a bidi...
Shelly's Adventure
Shelly and her friends have set out on an adventure and have come across an island. The island has a...
Stuck at Home
After researching the Coronavirus researcher come up with a solution to tackle all kinds of mutation...
Prefix and Suffix
Initially, you are given an empty array A. You have to perform the following queries. 1 P - Add an i...
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 ...
Harry and Hermione - 1
[1 and 2 are completely different problems. Consider reading both.] Harry and Hermione are in a figh...
How Do You Make a Problem?
I am very busy these days. So when I was told, I have to create a problem for the contest, I was sli...
Is Peter Guilty?
You know Spider-Man was arrested on Mysterio’s murder case. Though everyone loves Spider-Man includi...
Yet Another Strong Problem
You are given a string str consisting of characters 0 and/or 1 with an arbitrary integer n. Without ...
Help IKRI
Ikri has a binary string s of length n. (each character of s is either 0 or 1) The weight of the bin...
Marbles Per Second
You have a rooted tree of n nodes. If we traverse the tree from the root, let’s say the traversing o...
Star
Faija loves to do art. She has a graph, which has n rows and m columns. She creates new art every da...
Shine on You Crazy Diamond
This problem is authored by one of our late friends, Sifat, who unexpectedly left us last year. He w...
Toph uses cookies. By continuing you agree to our Cookie Policy.