快读算(n+1)的平方的值:
#include<bits/stdc++.h>
using namespace std;
inline int read(){
int x=0,f=1;char ch=getchar();
if(!isdigit(ch)){if(ch==45)f=-1;ch=getchar();}
while(isdigit(ch)){x=x*10+ch-48;ch=getchar();}
return x*f;
}
int n;
int main(){
n=read();
printf("%d",n*n+n*2+1);
return 0;
}