Problems from Intra BUET Junior Programming Contest 2018

These problems are from a contest hosted on May 1, 2018 at 3:30 AM UTC. See details...

Standings
A. Palindromic Substring
Mr. J has recently learnt a new data structure called Palindromic Tree. Well, he didn’t exactly lear...
B. Sphinx And Grid
Defeating all of his opponents, Harry has reached the final phase of the Triwizard tournament. Now o...
C. G.O.G
G.O.G gave N.O.G a two dimensional circular shaped cake and ordered him to make this cake into a tri...
D. Binary Counting
Let's define a function , F(x) = Number of 1 in binary representation of X. Given L and R you have t...
E. The Katukutu game !!!
N peoples are playing The Katukutu Game. Initially, they are lined up in a queue at positions 1,2,3 ...
F. Expected Component Count
You are given a tree of size N. Every edge has an associated probability of existence between 0 and ...
G. Dominoes
Ana’s aunts bought her a set of dominoes. She plays with it the whole day. Dominoes are so much fun...
H. Distribute The Balls
Turab has N colored balls and K boxes. He wants to distribute all the balls in K boxes such that eac...
I. Ashiq and His new gf
Once Ashiq went on date with n(<=10^9) chocolates and he wants to share some of them with the girl. ...
Moderate 1/1/7
J. The Fifth Wedding
The great programmer Ashiqul Islam is getting married again. Unfortunately the Bride likes arithmeti...
K. Total Eclipse
I'm Anik and I'm lost in space. It's been a tantalizing experience so far. Currently I'm at position...
Toph uses cookies. By continuing you agree to our Cookie Policy.