Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
63208 李远扬 直线分割圆 C++ Accepted 1 MS 276 KB 133 2024-01-06 14:45:01

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ long long n; cin >> n; cout<<(n*n+n+2)/2; return 0; }