Скоро Codeforces Round 1133 (Div. 1, Div. 2)! Регистрация здесь. ×
M. Mountain Ranges
time limit per test
1 second
memory limit per test
1024 megabytes
input
standard input
output
standard output