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