GCD Plus LCMIn this problem you will be given two integers a, b. You have to answer if GCD(a, b) + LCM(a, b) = a...

Nth PrimeIn this problem, you will have to print the nth prime number. The first few prime numbers are given...

Karim Meets GollumAfter hearing about Bilbo’s Ring that he found in the Misty Mountains, Karim the Hobbit decided to e...

Magic NumberJack loves to play with numbers. One day, while he was playing with numbers he found something inter...

Omae Wa Mou ShindeiruItachi and Sasuke are trying to beat Kabuto, the caster of an awesome magical spell (or you can say ...

I Did Not Do the AssignmentProfessor Petr is very angry over some of his students nowadays for not doing assignment. He wants...

Unique ReliefThanos has now figured out how to visit all the houses in the floodaffected area. However, now he h...

Help Lazy TareqThere is a boy named Tareq Abrar who is very lazy. He likes sleeping. He also likes eating. His moth...

Jhamela, Once AgainYou are given n positive integers as an array. Also, you are given an integer k. Now, try to find a ...

Love Letters!Lately Fahim is getting a lot of love letters. A LOT of love letters. Since he is confused about whi...

Life of PhiThe Great Khami is learning Number Theory. He is very excited to know that Euler’s Totient Function ...

Correct the SieveSieve of Eratosthenes is a fast algorithm for finding prime numbers in larger ranges. According to W...

Distribution of Relief“Please follow all instructions provided by your local health authorities.” Due to Coronovirus epide...

Playing With AladdinAladdin is a fictional character and the titular protagonist of Walt Disney Pictures’ 31st animated ...

CryptoNumberWalt and Gus have a great rivalry. Recently Gus has developed a cryptographic system. Walt is trying...

Arrange the Bricks!You have N bricks two dimensional bricks of the dimension 1 \times 2. The bricks are rotatable i.e. ...

Ishtiaque and the RabbitMr Ishtiaque is in trouble. A few months ago, he bought 2 rabbits. He wanted to have two pet rabbits...

Birthday Gift for SJToday is your best friend SJ’s birthday. You want to buy a birthday present for her. You want to buy...

Sofdor Ali and the Puzzle of WeightsSofdor Ali is one of the most famous scientists of Bangladesh. He is also well known for his puzzle ...

Magician's Offer!Rosi Vidmun is a greedy landlord who likes to grab as much land as he can. Currently he has P square...
