Polices Raided on Town!
There are N shops in a town named “The Worst-Model-Town”. The owner of the i’th shop is A[i]. One da...
Pairs in Tree
You will be given a tree of N nodes. Each node has a given value and the distance between adjacent n...
Difficult Game Of String
Today we will talk about two friends and a difficult game. For this problem, let's think their names...
math10 Moderate 2/3/4
Lighthouse 2
Safwan is the new governor of the country Homeland. Homeland is formed with a set of N islands where...
Rotated Square
You are given N 2D points, and some query 2D points. For each query point you need to find the area ...
faiyaz26 Moderate 2/6/61
Fuel Finance
X Game Studio is working on their next super-hit game. The game is quite simple. The player has a ca...
Doctor Strange in the Circleverse
At the beginning of time, there were only two circles in the circleverse (a universe where everyone ...
SMAN2901 Moderate 1/1/1
Schrödinger's Brightness
Antman is in the quantum realm. He has n orbits which are concentric and circular. These are called ...
Ankara Messi
It is Argentina vs Croatia in the football world cup semifinal of 2022 in a parallel universe. The f...
The Very Last Exam
You have spent the last twenty years studying competitive programming. Now only one exam stands betw...
upobir Moderate 1/2/26
AI Empire
This is the year 3202. 300 years ago, AI got so much smart that AI took control over its creators. N...
Challenging Case
Officer Rahman, a mysterious character, often gets into trouble. He faced the most dangerous crimina...
FI_Nabil Very Easy 1/10/55
Plantik
It is Argentina vs France in the football world cup final of 2022 in a parallel universe. You are a ...
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...
ACT 1: Ash Counting Trees
Ash Ketchum has a weird rooted tree (read Notes sections if you don't know about tree data structure...
Pera in CSEmpur
Who does not like a short and precise problem statement? Atleast everyone in CSEmpur does. You are g...
Faisal and His Playgrounds
Faisal is a famous ice hockey player. He plays his game all across the world. But his favorite groun...
Around the Track
In order to compare race tracks, we wish to compute their lengths. A racetrack is strictly two-dimen...
Brain Fold (Hard)
Shandyna loves nerd sniping. (Don’t worry, she only does it in safe enviroments.) Last time she got ...
Moderate 1/3/4
Call a Meeting
Alice and Bob are hosting a programming contest in Abiland. All the judges live in different cities ...
Missing String
This is an Interactive Problem. The judge has a secret binary string S of length n(1≤n≤1000). You ca...
Anina's Christmas Tree
This Christmas Anina and her friends have decided to make some Christmas trees to decorate her town....
Realm of Numericon
In the mysterious Realm of Numericon, a group of ancient mathematicians discovered a unique pattern ...
Invertible Construction
You are given two integers n and k. We define an operation on a r×c binary matrix as follows: Choos...
Farewell
Alice has found an array A containing n non-negative integers, where the i-th element is named Ai​. ...
Toph uses cookies. By continuing you agree to our Cookie Policy.