Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
116088 晏莞煜 12序列的第n项 C++ Accepted 1 MS 280 KB 150 2025-04-06 10:27:59

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n,w=1; cin>>n; for(int e=0;e<n-1;e++){ w+=e; } cout<<w; return 0; }