Fast Co-Prime
Two numbers A and B are called co-prime if the only common positive factor of the two numbers is 1. ...
Beauty of AP
Solving problems is fun in competitive programming, right? So let’s solve a fun task today too :P. 1...
Christmas Gifts
It's Christmas time! It's the time when Santa brings gift for the children. This year Santa has $K$ ...
Tom Is a Good Mentor
Today is the first day of the little mouse Jerry at school. Famous mathematician Tom is his teacher....
LCM Divisible Subsequence
You’ll be given an array of $N$ integers and two more integers $K$ and $M$. You have to find the num...
Toph uses cookies. By continuing you agree to our Cookie Policy.