题解:http://www.cnblogs.com/forever97/p/3522238.html
#include <cstdio> int main() { int n; scanf("%d",&n); while(scanf("%d",&n)!=EOF) printf("%d\n",2*n*n-n+1); return 0; }
2023-11-13 16:32:58
题解:http://www.cnblogs.com/forever97/p/3522238.html
#include <cstdio> int main() { int n; scanf("%d",&n); while(scanf("%d",&n)!=EOF) printf("%d\n",2*n*n-n+1); return 0; }