### Problems by Alim14

#### Compute the Combination

Let P = C(N,0) - C(N,1) + C(N,2) - C(N,3) + ... + C(N,N); where C(n,r) is "n choose r". You are give...

Moderate 82/103/263

#### Equation Equals Hazards

You are given the equation, GCD(A,M) = 1. You have to determine whether there exists at least one in...

Very Easy 64/80/180

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

Given a non-negative integers N. You have to find an integer P such that, the following conditions s...

Moderate 57/77/181

#### Recursive World!

See following the two recursive functions: C(0) = 0 C(1) = 5 C(K) = C(K-1) + 4 F(0) = 1 F(1) = 2 F(N...

#### The Universe Loves Minimum Steps!

Given an array A of N integers. Your task is to make all the integers 0 by performing the following ...

Moderate 51/56/84

#### Two Friends

CodeMask and CodeNewtons are two friends. Today they are playing an interesting game. The game invol...