GCD and Sum Congratulations! You’ve been hired in “Buggy Software Ltd.” And you’ve been already given your first... |
Day-Month-Year Meena is a talented girl in her class. She likes to brainstorm in her leisure times. One day, she wa... |
Admission Gift During admission exams in the city of RR (Royal Royal city), the students of RR University of Engine... |
Bad Cook Mr. Meme has recently moved to a foreign country named "Gloryland" for study purpose. There, he has ... |
Rivalry Friends Ryo and his girlfriend love to think about challenges. One day his girlfriend gave him a challenge t... |
Is Bita Happy? Bita has learned bitwise-operations recently. She is doing some experiments with these operations no... |
Magic Number Count Magic number is an integer number, which is only divisible by itself and total number of divisor wil... |
Absolute Value You will be given an integer x. The absolute value of x will be within 100. You have to add 1 to x's... |
Mr Max Count Sum Mr Max , Mr Sum and Mr Count are three neighbours. They have a common enemy, an old man living in th... |
Highschool Mathematics We do Algebra, Geometry, Matrix, Trigonometry, Calculus, Vector, Permutation - Combination, Probabil... |
I Hate Combinatorics! Rick and Morty are being hunted by the galactic government. They ran away to the cell dimension. The... |
Solve This Giveaway Problem First This problem is straightforward and easy. You will be given two integers N, P and a list L of positi... |
Beauty of AP Solving problems is fun in competitive programming, right? So let’s solve a fun task today too :P. 1... |
Most Difficult Problem Ever You are given a function like below: long long F(int A, int B, int C, long long x) { long long res =... |
Sofdor Ali and Radioactivity Sofdor Ali is the craziest and clumsiest scientist in Bangladesh. He tries to maintain the safety me... |
Perfect Points Perfect lines are the lines y=mx+c such that m and c are positive integers. Perfect points are the p... |
Composite Facts Let's define two functions F and S: F(n) = 1 + n! S(n,m) = Sum of first m non-prime integers which ... |
M-Sequence A sequence is called M-sequence if after removing zero or more elements from the sequence the GCD of... |
Delete the Array There is an array of size n. You will be given an integer x. In each move you have to subtract x or ... |
Mr Makor And His Friends Mr Makor has a set S of n integers. He calls a sequence of length k special if every element of the ... |
BigNumSum You will be given two numbers of 40 digits each. You will have to print the summation of these two n... |
How Many Paths? You are at the top left corner [position (1,1)] of a R×C grid. Your destination is bottom right corn... |
Meeting Place There is an N*N grid where (r,c) denotes a cell number where r means row number, c means column numb... |
Magician's Offer! Rosi Vidmun is a greedy landlord who likes to grab as much land as he can. Currently he has P square... |
No Onion, No Cry -Onions make us cry, don't they? They can make us happy too. -How? -Read the statement carefully! I... |