Choice Is Yours
For not participating on contests regularly, Hasnaine (read Has9) has decided to kill Santo. But nob...
GCD Grid
You are given two integers N and M. You have to make a grid of N∗M size by following these rules: E...
Magic Number Count
Magic number is an integer number, which is only divisible by itself and total number of divisor wil...
Yet Another Hello World
The greatest company, Pied Piper, is developing encryption systems. The company has already built Md...
Bi-Element Subsequence
You are participating in a game show. In the final round, the host pulls up a large sequence of posi...
Powerful Number
Efa loves numbers. She thinks a number is powerful if it can be expressed in the form xy where x and...
Divisible LCM
You have a sequence a1​, a2​, a3​, …, an​ of n integers and q queries. In each query, you are given ...
Functions of the Hell's Kitchen
The District Attorney(DA) of Hell’s Kitchen has been defined following functions. GCD(n,m): Returns ...
Shine on You Crazy Diamond
This problem is authored by one of our late friends, Sifat, who unexpectedly left us last year. He w...
Help Tanjiro
Mojan kibutsuji is an evil demon who eats people and can turn people into demon. Tanjiro is a swords...
Prime Factors
Given an integer N, can you determine its prime factors?
GCD, Divisor, Count!
I like short statements and you should too so here's the statement without further ado You are give...
Kotlin Heroes
The International Collegiate Programming Contest is an algorithmic programming contest for college s...
Half Measures
The numbers 1,2,3,⋯n (each integer from 1 to n once) are written on a board. In one operation, Jesse...
Do you have Arithmophobia ?
Don’t worry! If you are a programmer, you might not have arithmophobia!! But Era has a weird phobia ...
The Cipher
In an ancient civilization, shrouded in the mists of time, there existed a group of mathematicians k...
Toph uses cookies. By continuing you agree to our Cookie Policy.