LCM
Given an integer $L$, you have to find the product of two different integers such that their LCM (Le...
GCD and Sum
Congratulations! You’ve been hired in “Buggy Software Ltd.” And you’ve been already given your first...
Hidden Graph
There is an unweighted, undirected hidden graph. You are given an integer range from L to R. There a...
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...
Divisible LCM
You have a sequence a1​, a2​, a3​, …, an​ of n integers and q queries. In each query, you are given ...
Powerful Number
Efa loves numbers. She thinks a number is powerful if it can be expressed in the form xy where x and...
Functions of the Hell's Kitchen
The District Attorney(DA) of Hell’s Kitchen has been defined following functions. GCD(n,m): Returns ...
Help Tanjiro
Mojan kibutsuji is an evil demon who eats people and can turn people into demon. Tanjiro is a swords...
Kotlin Heroes
The International Collegiate Programming Contest is an algorithmic programming contest for college s...
GCD, Divisor, Count!
I like short statements and you should too so here's the statement without further ado You are give...
Half Measures
The numbers 1,2,3,⋯n (each integer from 1 to n once) are written on a board. In one operation, Jesse...
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.