Sum Game
Rakib loves to play with words and numbers. Currently He invented a game where he wrote down some wo...
Tyrion's Choice
"One stone crumbles and another takes its place and the temple holds its form for a thousand years o...
Cheap Tourist
The country of Byteland is divided into N provinces numbered from 1 to N. The provinces are connecte...
Bad Boy Ekhlas
Ekhlas is a bad boy, not the type of bad that you generally admire. When he was little, his primary ...
Trust me, this is stopper!
Do you know Doctor Strange from Marvel? He thought he was the master of time. But one day he came to...
Give Me My Vector
I am in a hurry. I have n 2D vectors. And I have created all possible subsets of these n vectors. Fo...
upobir Moderate 3/5/42
Angles!!!
ABCD is a convex quadrilateral. E, F, G, H are the midpoints of AB, BC, CD and DA respectively. EP a...
olee12 Moderate 5/8/11
Crypto Gift
Professor invites his n friends on his birthday. He wants to reward all of them and make them happy....
Equal Values
You have an array containing N elements. In one move you can either increase or decrease the value o...
Moderate 34/50/174
Lucky Number Seven
People often consider the number 7 as lucky. “But why?” - you might ask. Well, consider the fact tha...
Ghosh vs Datta
About two hundred years ago, a serious dispute evoked between the two neighboring colonies of Khulna...
Who Doesn't Love Shorter Strings?
I hope you are not someone who hates longer strings, or fears longer strings like me. Strings can be...
Reyad18 Moderate 3/4/7
And... Yet Another AND Problem
YouKn0wWho has an integer n. He wants to find an integer sequence a of size exactly 2n such that 0≤a...
Good and Bad Boys
As you all know that it is high time for good and bad boys to do good and bad things in the upcoming...
olee12 Moderate 26/37/88
GoG
Alice and Bob are playing GoG. GoG is a two-player board game. It consists of a grid with n rows and...
Selfie Restriction
Do you know the boy named Amlan? The only dream of his life is taking selfies. He takes selfies even...
Distinct Permutations
You are given two binary strings A and B. Recall that binary string is a non-empty sequence of chara...
Perfect Points
Perfect lines are the lines y=mx+c such that m and c are positive integers. Perfect points are the p...
Sweety Miya The Saver
The universe is at war again because of the Alien oppressive ruler Hitla Nagasaki. Hitla is so bruta...
Noora Number
A number is a "Noora" number if the count of distinct digits of the number is equal to the maximum d...
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 ...
Permutations and Divisors
Let P be a permutation of length n where each value from 1 to n occurs exactly once. A subsequence o...
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...
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...
Toph uses cookies. By continuing you agree to our Cookie Policy.