Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
137164 王安安 12序列的第n项 C++ Accepted 1 MS 272 KB 145 2025-11-16 12:21:20

Tests(10/10):


Code:

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