Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
63204 彭林江 直线分割圆 C++ Accepted 2 MS 276 KB 130 2024-01-06 14:44:22

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; }