我不想再肝了!!!
2026-10-06 11:19:34
发布于:河北
1阅读
0回复
0点赞
幼儿园小孩都会
我想要勋章,能给我50个赞吗

#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
for(int i = 1;i <= n;i++){
for(int j = 1;j <= n - i;j++){
cout<<" ";
}
for(int j = 1;j <= i * 2 - 1;j++){
cout<<"*";
}
cout<<endl;
}
return 0;
}
这里空空如也




有帮助,赞一个