Beauty of AP

Solving problems is fun in competitive programming, right? So let’s solve a fun task today too :P. ...

Christmas Gifts

It’s Christmas time! It’s the time when Santa brings gift for the children. This year Santa has $K$ ...