GCD and LCM
You will be given two integers A, B. If A × B (product of A and B) is equal to LCM(A, B) then you ha...
Keep the Apples
Suppose you have n bags of apples and one type of basket. In each of those baskets, you can keep at ...
Number, Segment, Prefix - All In One (Hard)
Xiao Po is building a validation framework for his current project. He is now stuck with this proble...
nfssdq Moderate 3/5/6
Hexagonal Packing
Bees are very hard working insects and they are also very good at geometry. In order to minimize the...
Not Too Hard
Showmik is very popular nowadays. Junior coders always seek help from him. He also wants them to imp...
Room Number 13
Many hotels around the world skip the number 13 and go straight to 14 when numbering rooms. This is ...
Very Easy 80/114/293
Boss Kauke Gune Na
It was the time of General Aladeen. "Kabir The Boss" was then a little child. On his birthday, Gener...
Trivial Summation
The problem statement is so small. Give you four integers r, a, b, d. Find the summation of all numb...
Switches
Technology is going ahead very fast. How can we know what will we get in future? One day you met a g...
Range Product
Mr. Jack is a Genetic Engineer but he is not good at Mathematics. At this moment, he is facing a mat...
The Game of Rocks
Alice and Bob have come up with a new game. Bob gives Alice a NxM grid that contains N rows and M co...
Collect Coins
Mario is playing a game where he has to reach a rock by jumping over n (1 <= n <= 10^5) other rocks....
Institute of Mathematics
Let's introduce you to our very own Mishal Sir. After completing his Ph.D. from the University of Ma...
Game of Strings
Redoan is very fond of strings. He wants to go on a spree of solving string problems. His own teamma...
Can You Make It Close
A boy named Poltu is very fond of food. He eats a lot and you can tell so by looking at him. There a...
Moderate 6/40/243
Sofdor Ali and Bracket Sequence
Sofdor Ali has invented a new game. He asked his assistant Jong Bahadur ( who happens to be a monkey...
Xiao-metry
Master Shifu thinks, besides of being a kung fu master, Xiao Po is a Chinese. So, like his country m...
Moderate 4/5/7
Rectangle Division
You are given a rectangle which is parallel to the coordinate axis. The lower left coordinate is (x,...
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...
Huge Number
If N is an integer greater than 0, n factorial (n!) is the product: n × (n-1) × (n-2) × (n-3) × ... ...
Holy Day
Maruf is a student of Dept. of Computer Science & Engineering, Sylhet Polytechnic Institute. Right n...
Moderate 39/40/42
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...
Darun Akta Counter
Moeen lives in a home section or blocks with 100 floors numbered from 0 to 99. The home has an eleva...
Moderate 6/9/15
Lowercase or Uppercase
You are given a string S consisting of lowercase English letters (a, b, c ….. z), uppercase English ...
Chemical Reaction II
The simulation of chemical reactions are always complex. Professor X has devoted himself to studying...
Toph uses cookies. By continuing you agree to our Cookie Policy.