K12教育赛事综合服务平台
聚乐之家官方网站
下载聚乐之家官方App
专注青少年竞赛题库网站
n = int(input()) tot = 0 for i in range(1,n): for j in range(1,i): tot += 1 print(tot)