Power and Mod
Exponentiation is a mathematical operation, written as b n , involving two numbers, the base b and t...
Find Prime
A prime number is a positive integer that is divisible only by itself and 1. The first few prime num...
Submit Dile AC Hobe Na
Competitive Programming is very popular in Bangladesh. Shuvo is a contestant from DIU-SWE. His depar...
SAtiq The Dengue Fighter
Dengue, a mosquito-borne viral disease, has been spreading rapidly in the past few years. This year ...
Prime Plus Prime
You will be given an integer N. N is a prime number. You have to determine if adding any other prime...
Very Easy 136/206/618
Discovering Shazam's Superpowers
Billy Batson has got the superpower of Shazam recently. By speaking the magic word "Shazam" he can t...
How Many X's?
Given a string with only X’s you have to print how many X’s there are.
Very Easy 583/607/1k
Counting the Counts
Salam is a school teacher. He takes ICT of class 8th. The head of the school wants to know how many ...
Rick and Morty
Rick and Morty are playing a video game called "Shoot 'em all". In this game, a player shoots his op...
Very Easy 167/167/194
Roll the Dice
You have got a 6 sided dice. In a single roll, it may show any integers from 1 to 6. You are going t...
Metro Rail Blocks
The city of Dhaka is experiencing the construction of metro rails. Imagine one such metro rail spans...
An Obvious Interactive Problem
I pick a number. You guess it. You can guess at most 25 times. For every guess you make, I will tell...
Magic Number
Jack loves to play with numbers. One day, while he was playing with numbers he found something inter...
Little Dwayne
Little Dwayne Johnson is hosting a programming contest. A lot of teams mail him everyday to ask abou...
Who Will Get the Job?
MangoSoft is one of the top companies in the software industry all over the world. They have a branc...
Why Don't You Guys Believe Him?
My friend, Qbaidul recently claimed again that he is stronger than a Yeti. But this time no one beli...
Average the Array
You are given an array A of length N. You have to choose a subset S from given array A, such that av...
Fast Co-Prime
Two numbers A and B are called co-prime if the only common positive factor of the two numbers is 1. ...
Panir Niche Rastaa Bhalo
Poltu is a cyclist. He loves commuting by cycle. When he was a kid, often he was cycling in his drea...
Be Like Hasib
Hasib, the famous programmer, uses a little game when he teaches Binary Search to his students. He r...
Light The Candle
You have N candles of different lengths. For a candle of length L, you can light it for L minutes. N...
Ant Query
Scientists from the planet Krypton have figured out a way to grow artificial sugar in space. They ha...
Trap of Thanos
Abdullah, Biswas and Cijsan all have been in big trouble. They are invited into a dying game by Than...
ICPC Seat-Plan
From different countries and different universities, too many teams are coming to Bangladesh to part...
Diagonal Sum
Given an N×N size matrix, you have to re-arrange the elements of the matrix in such a way that the d...
Toph uses cookies. By continuing you agree to our Cookie Policy.