So Easy~|本题第一份题解
2026-07-09 18:46:40
发布于:广东
11阅读
0回复
0点赞
和这题很像,家人们可以去康康( •̀ ω •́ )✧
链接描述
本体解法:
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;cin>>n;
for(int i=0;i<n;i++){
for(int j=1;j<=i;j++){
cout<<" ";
}
for(int j=1;j<=n;j++){
cout<<"*";
}
cout<<endl;//别忘了换行
}
return 0;//好习惯
}
可以点个免费的赞吗(0◇0)/
这里空空如也







有帮助,赞一个