Divisible LCM You have a sequence a1, a2, a3, …, an of n integers and q queries. In each query, you are given ... |
Walk on the Grid There is a grid of size $R\times C$ where $R = $ Number of rows and $C = $ Number of columns. You sh... |
Perplexity of Permutations A permutation of N integers from 1 to N is an array where each number has appeared exactly once in t... |
I Am Good I am trying to become a good guy, because it doesn't take money to become good. So here's a short an... |
The Reminder to Expect Do you know Trevor Philips? Well he is a mad guy who gets mad at everything. Recently he got mad at ... |
Bad Neighbors 2 As some of you already know, Nocu City has a history of having bad neighbors. These bad ones, take a... |
The Greedy Mathematician Once upon a time, there lived a man called Mahi the mathematician. He was banned from his kingdom be... |
Pleasant Permutations A sequence of n integers is called a permutation if it contains all integers from 1 to n exactly onc... |
Functions of the Hell's Kitchen The District Attorney(DA) of Hell’s Kitchen has been defined following functions. GCD(n,m): Returns ... |
Sofdor Ali and Radioactivity Sofdor Ali is the craziest and clumsiest scientist in Bangladesh. He tries to maintain the safety me... |
The Cipher In an ancient civilization, shrouded in the mists of time, there existed a group of mathematicians k... |
Kitchen Combinatorics The world-renowned Swedish Chef is planning a gourmet three-course dinner for some muppets: a starte... |
Incremental Induction The Nordic Collegiate Pong Championship (NCPC) is an insanely competive tournament where every conte... |
Omae Wa Mou Shindeiru Itachi and Sasuke are trying to beat Kabuto, the caster of an awesome magical spell (or you can say ... |
Jimmy and Jamy Jimmy and Jamy are two brothers. They like to play with colored marble. Jimmy has N boxes with three... |
I Am Good 2.0 I am trying to become a good guy, giving contestants as little pain as possible. So, this problem is... |
Trust Me , You Can Solve It ;-) Nafis Shahriar loves to do codeforces programming contests. He is the first candidate master in code... |
Who Gets the Money!? Who doesn’t get happy after getting money in the pockets of clothes before washing them? During this... |
Perfect Points Perfect lines are the lines y=mx+c such that m and c are positive integers. Perfect points are the p... |
Harry Potter and the Vault of Gringotts "There was a break-in of Gringotts Wizarding Bank on 1 May, 1998, during the height of the Second Wi... |
Expected Oddness Alita found a string of n characters where each character of the string is either '0' or '1'. The Od... |
Jhamela, Once Again You are given n positive integers as an array. Also, you are given an integer k. Now, try to find a ... |
Mr. Ant and His Problem Mr. Ant has 3 boxes and the infinite number of marbles. Now he wants to know the number of ways he c... |
Complex Tashreef Tashreef finally received the Zuinness Journal of Galactic records recognition for being the most co... |
Game of Gnomes The enemy and their massive army is approaching your fortress, and all you have to defend it is a le... |