竞赛
考级
#include <iostream> using namespace std; int vector9,m4[51]={0,2}; int main(){ cin>>vector9; for(int i=2;i<=vector9;i++) m4[i] = m4[i-1]+4*i-3; cout<<m4[vector9]; return 0; }
138****6510