Tower of Sticks You may have played the game The Tower of Hanoi. The game contains three towers. You've to place 8 d... |
K-Th Root You will be given Q queries. In each query, you will be given two positive integers A and B. You hav... |
Is It a Perfect Square? Given some numbers, can you tell, if the product of these numbers are a perfect square or not? A num... |
Love Letters! Lately Fahim is getting a lot of love letters. A LOT of love letters. Since he is confused about whi... |
How Many Litchis? Tasnim comes to visit Dinajpur which is very famous for litchi production. Today, she comes to a lit... |
Prime Team There are n players standing in a line. Each of the players is assigned a unique jersey number. You ... |
XOR Master Imam has been participating in online programming contests for years. His goal is to become a "Maste... |
N Factorial! I like short descriptions and I think you so too. Let's say you have a number, N. Now try to find th... |
Prisoners Let me tell you a story of a dangerous prison. There were N prisoners in that prison. It is guarante... |
Who Ate the Pizza Slices? Misty’s life is very dramatic. No matter how careful she is, some interesting and sometimes unfortun... |
Ishtiaque and the Rabbit Mr Ishtiaque is in trouble. A few months ago, he bought 2 rabbits. He wanted to have two pet rabbits... |
First Snow One day Tomato woke up late in the morning and realized that she had a long list of todos. Frantical... |
A Lack of Common Divisors Given a positive integer N, determine how many of the integers between 1 and N are co-prime with N. ... |
ML Vs AI Nowadays, CS students try to learn Machine Learning and Artificial Intelligence even before learning... |
Zacob the Batsman It's known that Zacob is a reliable batsman of LU CSE Cricket Team. Also as long as he is on the cre... |
Fibonacci Between Given two numbers L and R, you must print all the Fibonacci numbers between L and R (inclusive). Alt... |
Cook a Dish Have you ever cooked something? No? Not a problem! Whenever you try to cook something, you need some... |
Magic Square A little boy Towhid is good at mathematics. He solves a lot of mathematical equation regularly. He i... |
Highschool Mathematics We do Algebra, Geometry, Matrix, Trigonometry, Calculus, Vector, Permutation - Combination, Probabil... |
Counting Murgis Ever since that wicked thief took away some of her murgis (hens, that is), Meena was ever anxious th... |
Relatively Prime Given a positive integer N, determine how many of the integers between 1 and N are co-prime with N. ... |
Exponential Growth You will be given two integers X and N, you have to calculate XN modulo 1000000007. |
Meena Meets The Marauders December 14, 1975 Hogwarts School of Witchcraft and Wizardry It’s been a long long day. The Marauder... |
Ashik's Trouble Ashik is generally a good boy. But recently he has had some trouble with one of his classmates. His ... |
Magic Number Jack loves to play with numbers. One day, while he was playing with numbers he found something inter... |