Problems from PIHACKS'21-CodeJam

These problems are from a contest hosted on July 30, 2021 at 9:00 AM UTC. See details...

Standings
A. Easy Parenthesis
Let there be a parenthesis sequence string S. This sequence is not guaranteed to be balanced. Your t...
B. No Expectations!
You have a jug and n mugs. The jug’s capacity is c liters and the ith mug’s capacity is ai​ liters. ...
shefin Moderate 2/8/22
C. Water in a Tree
There is a tree consist of N nodes and N−1 edges. The ith node contains Si​ liters of water with a t...
D. Good and Evil
Inside each of us, there is the seed of both good and evil. It's a constant struggle as to which on...
E. Legacy of _sunny
Tasnim Imran Sunny is the fifth Bangladeshi red coder from Topcoder. This problem is to pay tribute ...
F. Archers and the Monster
A monster is trapped in a triangle in a 2D coordinate system. Three archers are waiting to kill him....
G. Digits of Pi
Let’s talk about one fascinating fact about circles. For that, let’s perform the following experimen...
Toph uses cookies. By continuing you agree to our Cookie Policy.