| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 20648 | 汪天一 | 星号等腰三角形 | C++ | Accepted | 100 | 0 MS | 248 KB | 236 | 2021-06-19 16:49:17 |
#include<bits/stdc++.h> using namespace std; int n,a; int main(){ cin>>n; for(int i=1;i<=n;i++){ for(int a=1;a<=n-i;a++){ cout<<" "; } for(int j=1;j<=2*i-1;j++){ cout<<"*"; } cout<<endl; } return 0; }