提交时间:2024-03-29 15:08:37

运行 ID: 44161

#include<iostream> using namespace std; int main() { int n; cout<<n*(n-1)/2; return 0; }