提交时间:2019-11-08 21:04:12
运行 ID: 2119
#include<iostream> using namespace std; void qq(int GGboom){ int s,r=1; s=GGboom*GGboom-GGboom+1+2*(GGboom-1); while(r<=GGboom){ cout<<s<<" "; s-=2; r++; } } int main(){ int exe; cin>>exe; qq(exe); return 0; }