Problem Statement for cc1p5

This is a clone of A Christmas Contest 2021 Problem 5 "Santa's Pipes" by Leyang Zou (BattleMage_#5045) Link to MCPT problem: https://mcpt.ca/problem/cc21p5


🕑 Time limit: 2 seconds
⚎ Memory limit: 64.0 MB
 java: 512.0 MB