Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
63205 戴文博 直线分割圆 C++ Accepted 2 MS 276 KB 119 2024-01-06 14:44:29

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