11991 - Problem E - Avalanche   

Description

Input

Output

Sample Input  Download

Sample Output  Download

Tags




Discuss