Crayons

Five friends A, B, C, D and E has come to a shop to buy crayons for their art project. They need cra...

Distinct Dishting

You are given an array of N integers. Then there will be Q commands of the following type: 1) Chang...

Is It A Square?

Shikamaru is the most brilliant student of his class. He is very good at Mathematics. Mr. Asuma i...

New Divisor Problem

In mathematics, a divisor of an integer n, also called a factor of n, is an integer m that may be mu...

Taju Kage Bunshin No Jutsu

Naruto Uzumaki is one of the strongest ninja of RUET (Rasengan University of Ebisu and Tobi), posses...

Phi Numbers in Range!

In number theory, Euler’s phi function, denoted as ϕ(n), is an arithmetic function which counts the ...