Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×
G. Cooperative Escape
time limit per test
2 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output