| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 1392 | 孙灏洋 | 打印星号三角形 | C++ | Compile Error | 0 | 0 MS | 0 KB | 246 | 2019-10-07 20:21:42 |
#include<iostream> int main(){ int a,e=1; scanf("%d",&a); while(b<=a){ int c=1; while(c<=a-b){ printf(" "); c++; } int d=1; while(d<=2*b-1){ printf("*"); d++; } printf("\n"); e++; } return 0; }