Module max

Source
Expand description

2要素の最大値の総和

Functions§

sum_of_sum_of_max
2要素の最大値の総和 $\sum_{i = 1}^{N-1} \sum_{j = i+1}^N \max(a_i, a_j)$