| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 20642 | 石利伟 | 星号等腰三角形 | C++ | Accepted | 100 | 0 MS | 244 KB | 287 | 2021-06-19 16:41:34 |
#include<bits/stdc++.h> using namespace std; int main(){ int i,o,p,a; cin>>a; for(i=1;i<=a;i++){ for(o=a;o>i;o--){ cout<<" "; } for(p=0;p<2*i-1;p++){ cout<<"*"; } cout<<endl; } return 0; }