# Problems from BUET Inter University Programming Contest 2018

These problems are from a contest hosted on . See details...

#### A. Find the primes?

For a positive integer n, let’s define a function f: f(n) = sum of positive integers less than n whi...

#### B. Doom of Mosquitoes

Jahid does not like to study. He loves to do other things during his study time. Killing mosquitoes ...

#### C. Level Up

You are playing a game that has 16 levels. You start with level 1 and after gaining a certain amount...

#### D. Little Dwayne

Little Dwayne Johnson is hosting a programming contest. A lot of teams mail him everyday to ask abou...

#### E. Unbelievable Array

You will be given an array A of n integers and q operations. There are two types of operations: 1 x...

#### F. Description is Pathetic

Do you know what is the hardest part of creating a problem? Thinking and writing the description. Yo...

#### G. Biswa and Restaurant Business

After huge success in Borhani business, Biswa has recently started restaurant business. He’s got the...

#### H. Nothing’s more contagious than laughter

Gotham, a city full of criminals. But there is one who is more than just a criminal. He brings pure ...

#### I. Broken Roads and Hearts

Have you heard of the sad story of the place of Banasree? People cannot travel because of the terrib...

#### J. Selfie Restriction

Do you know the boy named Amlan? The only dream of his life is taking selfies. He takes selfies even...

#### K. Noora Number

A number is a &quot;Noora&quot; number if the count of distinct digits of the number is equal to the...

#### L. Towers of Doom

Alice and Bob are famous for inventing weird games. They just invented a new game called Towers of D...

#### M. Sequence Query

You are given N integer numbers (A1, A2, A3 … AN). You will also be given some query. Each query wil...

### Practice Contest

Practice contests allow you to re-run contests and experience them as close as possible to the original run.