Find the primes?
For a positive integer n, let’s define a function f: f(n) = sum of positive integers less than n whi...
First Snow
One day Tomato woke up late in the morning and realized that she had a long list of todos. Frantical...
For Loop FTW
You are given an integer N which can be represnted as the product of two positive integers. $ N = a_...
Freezed Standings
Team Depuradores and Team Resolvers represented their university in the ICPC world finals 2021. Depu...
Functions of the Hell's Kitchen
The District Attorney(DA) of Hell’s Kitchen has been defined following functions. GCD(n,m): Returns ...
Game, Game Everywhere
Binary and Ternary are playing a game. In this game, they initially choose an array with N elements....
Game of Gnomes
The enemy and their massive army is approaching your fortress, and all you have to defend it is a le...
Game of Palindromes
In a popular computer game, Game of Palindromes also known as GOP there is a city called Palindesh. ...
Game Show
Alex is participating in a game show. Mr. Phil is the host of the game. Alex is provided with an arr...
GCD and Sum
Congratulations! You’ve been hired in “Buggy Software Ltd.” And you’ve been already given your first...
GCD, Divisor, Count!
I like short statements and you should too so here's the statement without further ado You are give...
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...
GCD Plus LCM
In this problem you will be given two integers a, b. You have to answer if GCD(a,b)+LCM(a,b)=a+b is ...
Genius Needs Help
You all know Emrul bhai, right? He is a genius guy. He knows how to add two integer numbers and so d...
Geometry Forever
Fear no more, this is a problem of geometry! When Moyna was little, he had a math teacher named Shuk...
Goku's Tree
Recently Goku has discovered a rooted tree graph. Goku’s tree has N nodes, among them node 1 is the ...
Gutibaji on Chessboard
Let there be a chessboard of size N×M, and only one bishop in a cell (x,y). How many cells can the b...
Half Measures
The numbers 1,2,3,⋯n (each integer from 1 to n once) are written on a board. In one operation, Jesse...
Hange and Her Gear
Hange has developed a special gear to attack the Cart Titan. The gear is a round, disc-like object. ...
Harry Potter and the Vault of Gringotts
"There was a break-in of Gringotts Wizarding Bank on 1 May, 1998, during the height of the Second Wi...
Hasinur's Mission!
Let me tell you something about Hasinur: He is a religious person. He prays 5 times a day. He loves...
Hello Choto Bondhu!
Let's play a game. I will give you a number n. You will have to tell me n2. Okay, it may seem diffic...
Help Chokro
Pias and Chokro are good friends. Pias's birthday is coming soon. So, Chokro wants to gift Pias an a...
Help Lazy Tareq
There is a boy named Tareq Abrar who is very lazy. He likes sleeping. He also likes eating. His moth...
Help Tanjiro
Mojan kibutsuji is an evil demon who eats people and can turn people into demon. Tanjiro is a swords...
Toph uses cookies. By continuing you agree to our Cookie Policy.