Game, Game Everywhere Binary and Ternary are playing a game. In this game, they initially choose an array with N elements.... |
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 ... |
Poltu and Trailing Zero Poltu gives a problem to his friend Boltu. The description is given below: You are given an integer ... |
Nodes and Depth From the above figure, the number of nodes for the first three depths are 3, 9, and 27. You will b... |
ML Vs AI Nowadays, CS students try to learn Machine Learning and Artificial Intelligence even before learning... |
Maximum Distance You know it’s hard seeing your favorite person being interested in another one instead of you. At th... |
Killing Floor $N (1 \leq N \leq 10^{18})$ robots have decided to take part on a battle royale. Every robot has a u... |
The Lucky Dice Ray and Evangeline are playing a game named "The Lucky Dice". In this game, each player tosses up an... |
MEXFN This is a straightforward problem without much story behind the problem. You have to calculate MEXF... |
Cocoa Coalition Alice and Bob decide to share a chocolate bar, which is an $n$ by $m$ rectangular grid of chocolate ... |
Incremental Induction The Nordic Collegiate Pong Championship (NCPC) is an insanely competive tournament where every conte... |
Exponential Growth You will be given two integers X and N, you have to calculate XN modulo 1000000007. |
Raem's Square Raem is an eight years old boy. One day his family was visiting Dhaka Shishu Park near Shahbag. Besi... |
Dengue Once upon a time there was a king. He had a huge kingdom and the king was very kind. All of his subj... |
Lazy Supermen There are two hills in Sonargaon. The heights of them are H1 and H2 meter. The distance between the ... |
Pie Are Squared Given the radius of a circle, calculate and print its area. The area of a circle can be computed usi... |
Arshiya's First Code Arshiya is just three and she already started programming. She has learned how to write loops. Recen... |
Chief Thief A group of thieves steal only money. Every morning they deposit the money to their leader. The leade... |
Absolute Value You will be given an integer x. The absolute value of x will be within 100. You have to add 1 to x's... |
Scholarship Your school is going to start a new scholarship program. To apply for this scholarship you have to w... |
Highschool Mathematics We do Algebra, Geometry, Matrix, Trigonometry, Calculus, Vector, Permutation - Combination, Probabil... |
Spot It! Have you played the game Spot it!? Though there are many ways to play this game, the basic rule is t... |
Squared Given the length of a side of a square, calculate and print its area. |
Missing Number Given the sum of four numbers and three of those numbers, find the missing number. All four numbers ... |
Running Average Given $N$ numbers, read each one, calculate the running average and print it. For example, given the... |