Phi Numbers in Range!
In number theory, Euler’s phi function, denoted as ϕ(n), is an arithmetic function which counts the ...
Even Peter Tingle Can't Help
After the fight between Mysterio and Spider-Man, Mysterio revealed Spider-man’s identity to the worl...
Graph Stuff
You will be given a tree with n node numbered 1 to n with weighted edge. You will be asked q queries...
Candidate Consonant
Alice and Bob are playing with string. Alice gives Bob a string S with the following information: S...
Can Peter-III Save "MJ" This Time?
Peter-I returns to Dr.Strange as he prepares to use the Macchina to send everyone home. Suddenly, Gr...
Chocolate Rounds
In a magical Victoryland, there is a princes named “Rowshan” who loves chocolate bar a lot and don’t...
Moderate 11/16/55
Birthday Present?!
As everyone gifts graphs or strings to people on their birthdays, Oyshee’s friends decided to do som...
Relatively Prime
Given a positive integer N, determine how many of the integers between 1 and N are co-prime with N. ...
XOR Is Fun
Efa hates numbers. But she loves the XOR operation. This time, you have to solve another problem for...
Tahsin and the Assignment
Mrs SSM always gives assignments to her students. Last week was no different, as she gave an assignm...
Shuvo Noboborsho!
"Shuvo Noboborsho" is the traditional greeting for Bengalis in the Bengali new year which means "Hap...
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...
Sofdor Ali and Attack Optimization
Tuki and Jha is in the middle of an interplanetary war and their base is under drone attack! They ar...
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.