Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
111591 vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv 直线分割圆 C++ Compile Error 0 MS 0 KB 110 2025-03-02 16:47:29

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:7: error: 'n' was not declared in this scope
  cin>>n;
       ^