Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
129033 常钰杰 直线分割圆 C++ Accepted 2 MS 268 KB 157 2025-08-21 15:56:37

Tests(10/10):


Code:

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