XOR Partition
Neo has a hidden array A of n integers where 0 ≤ Ai ≤ 109 is satisfied for each i from 1 to n . You ...
Meena Meets The Marauders
December 14, 1975 Hogwarts School of Witchcraft and Wizardry It’s been a long long day. The Marauder...
Permutations and Divisors
Let P be a permutation of length n where each value from 1 to n occurs exactly once. A subsequence o...
Attacking Drones
Bytelandian air force has designed a new weapon system. It is similar to a drone but instead of shoo...
Towers of Doom
Alice and Bob are famous for inventing weird games. They just invented a new game called Towers of D...
Playing On A Directed Graph
You are given a directed graph consisting of n vertices and m edges (each edge is directed, so it ca...
Directed Rectangle
Sami has just finished his assignments, to relax, he wants to play games. Since he’s banned from PUB...
Magical Pascal
Given an integer N, find the number of elements which are even in the first N rows of the Pascal's t...
Binary Pigeons
There are $N$ pigeons standing one after another in a straight line. There are two kinds of pigeons:...
Laali Vs Bessie
One day Raju discovered USACO and from that day he would spend all his time solving problems. Laali ...
Smallest Subarray
You are given an array A of N integers A1, A2, A3, ..., AN . If we select two indices (1 ≤ i ≤ j ≤ N...
Byang and Kochuripana Trouble
Byang is the chief software engineer at Toad Incorporated. His grandmother is planning to give him a...
Data Structure
The operations that are performed in a data structure can be categorized into two types: query and u...
Biswa the Digital Gutibaj
Being a digital gutibaj, Biswa is virtually busy with all his evil stuff all the time. As he is a di...
Consistent Hashing
In modern software development, hashing is an important concept. It involves generating unique integ...
How Cow!
There is a cow in a village. She eats as much grass as she wants. Fortunately there is a large field...
Sequence Query
You are given N integer numbers (A1​,A2​,A3​…AN​). You will also be given some query. Each query wil...
nfssdq Moderate 13/20/93
Ant-Man And The Polygon
Ant-Man before escaping from the quantum realm thought about roaming around the realm. And much to h...
Sum of Medians
You will be given an array of size $n$ where all elements of the array are pairwise distinct. You wi...
The Selection
SUST has n departments numbered from 1 to n where every pair of distinct departments is connected by...
Kitorp and His Love
Kitorp loves his wife Asiar(who is a problem solver as well) but he loves math more. To get his atte...
Static Tree
You are given a tree containing N vertices. The vertices are numbered from 1 to N. A tree with N ver...
MaxXOR
You are given an array A of n integers (A1​, A2​, ..., An​) and some queries. In each query, you wil...
Number Crafting
Game is one type of competency, and when it befalls by any number its really astonish. Rifat is very...
Help Optimus!
In an alternate reality, due to a prolonged battle between Autobots and Decepticons, planet Cybertro...
Toph uses cookies. By continuing you agree to our Cookie Policy.