| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 21112 | 孙文谦 | 星号等腰三角形 | C++ | Accepted | 100 | 0 MS | 244 KB | 216 | 2021-06-26 16:24:10 |
#include<bits/stdc++.h> using namespace std; int n; int main(){ cin>>n; for(int i=1;i<=n;i++){ for(int j=1;j<=n-i;j++) cout<<" "; for(int j=1;j<=2*i-1;j++) cout<<"*"; cout<<endl; } return 0; }