Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
161172 格林老师 折线分割圆 C++ Compile Error 0 MS 0 KB 232 2026-10-01 18:26:46

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; const int n=10010; int dp[n]; int main(){ int n;cin>>n; dp[0]=1; for (int i=1;i<=n;i++){ dp[i]=dp[i-1]+((i-1)*2+1)*2; } cout<<dp[n]<<endl; retur


Run Info:

Main.cc: In function 'int main()':
Main.cc:12:5: error: 'retur' was not declared in this scope
     retur
     ^
Main.cc:12:5: error: expected '}' at end of input