AGC028 B – Removing Blocks 题解【概率期望】

一道区间统计问题。   Problem Statement There are $N$ blocks arranged in a row, numbered $1$ to $N$ from left to right. Each block has a weight, and the weight of Blo...