| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 1416 | 陶俊宸 | 打印星号三角形 | C++ | Presentation Error | 0 | 0 MS | 256 KB | 259 | 2019-10-08 20:13:55 |
#include<iostream> int main(){ int a,b=1,c=0,d=0,e; scanf("%d",&a); e=a; while(b<=a){ c=0; d=0; while(c<e){ printf(" "); c++; } while(d<2*b-1){ printf("*"); d++; } printf("\n"); b++; e--; } return 0; }