Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

I. Liquid Distribution
time limit per test
2 seconds
memory limit per test
1024 megabytes
input
standard input
output
standard output

Please read the problem statements here.