The Cipher In an ancient civilization, shrouded in the mists of time, there existed a group of mathematicians k... |
The Greedy Mathematician Once upon a time, there lived a man called Mahi the mathematician. He was banned from his kingdom be... |
Composite Facts Let's define two functions F and S: F(n) = 1 + n! S(n,m) = Sum of first m non-prime integers which ... |
Divisible LCM You have a sequence a1, a2, a3, …, an of n integers and q queries. In each query, you are given ... |
Mr Makor And His Friends Mr Makor has a set S of n integers. He calls a sequence of length k special if every element of the ... |
Joker's GCD Test Joker has a sequence P of n integers. Each two elements in the sequence are pairwise distinct. He de... |
Yet Another Hello World The greatest company, Pied Piper, is developing encryption systems. The company has already built Md... |
Lucky Shirt Marjokes is a very famous comedy personality in Byteland. He is a poet, a writer, a singer and an ac... |
Christmas Tree Professor Rio has an amazing Christmas tree. Unlike other trees, this Christmas tree has some specia... |
Complex Tashreef Tashreef finally received the Zuinness Journal of Galactic records recognition for being the most co... |
Secret Meeting The world is terrified by Pandas! After a miraculous chemical explosion, they became smarter; and ev... |
Omae Wa Mou Shindeiru Itachi and Sasuke are trying to beat Kabuto, the caster of an awesome magical spell (or you can say ... |
Game Show Alex is participating in a game show. Mr. Phil is the host of the game. Alex is provided with an arr... |
Functions of the Hell's Kitchen The District Attorney(DA) of Hell’s Kitchen has been defined following functions. GCD(n,m): Returns ... |
Poltu and Trailing Zero Poltu gives a problem to his friend Boltu. The description is given below: You are given an integer ... |
Beauty of AP Solving problems is fun in competitive programming, right? So let’s solve a fun task today too :P. 1... |
Hange and Her Gear Hange has developed a special gear to attack the Cart Titan. The gear is a round, disc-like object. ... |
Poltu and Digit Product You are given two integer L and R. You have to find the summation of digit product of all number fro... |
Choice Is Yours For not participating on contests regularly, Hasnaine (read Has9) has decided to kill Santo. But nob... |
Do you have Arithmophobia ? Don’t worry! If you are a programmer, you might not have arithmophobia!! But Era has a weird phobia ... |
No Onion, No Cry -Onions make us cry, don't they? They can make us happy too. -How? -Read the statement carefully! I... |
Kotlin Heroes The International Collegiate Programming Contest is an algorithmic programming contest for college s... |
Birthday Gift for SJ Today is your best friend SJ’s birthday. You want to buy a birthday present for her. You want to buy... |
NAC-SAC Game! (Hard. Well, Not Really. 😛) Remember the game played by Akash and Guru on the NAC-SAC bridge? (For those cannot remember, Akash ... |
Paltu, a Prime Lover Note that the memory limit is unusual. Paltu is a good programmer and he loves prime numbers. One da... |