洛谷P9148 除法题 题解
题目链接:P9148
除法题
题意:
给定大小为 \(n\) 的集合 \(a\),保证其中元素互不相同且均为正整数。
如果我们从中按顺序取出三个元素 \(a, b, c\),则共有 \(n \cdot (n-
2024-01-23