LCM Divisible Subsequence

You’ll be given an array of NNN integers and two more integers KKK and MMM. You have to find the num...

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 KKK ...

Tom Is a Good Mentor

Today is the first day of the little mouse Jerry at school. Famous mathematician Tom is his teacher....