Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
63210 申明智 直线分割圆 C++ Accepted 2 MS 272 KB 120 2024-01-06 14:45:17

Tests(10/10):


Code:

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