Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
76340 段文昊 折线分割圆 C++ Compile Error 0 MS 0 KB 120 2024-06-02 12:12:41

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:2: error: expected initializer before 'cin'
  cin>>n;
  ^
Main.cc:8:12: error: 'n' was not declared in this scope
  cout<<1+2*n*n;
            ^