| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 1604 | 张曦元 | 倒三角形 | C++ | Accepted | 100 | 0 MS | 196 KB | 321 | 2019-10-14 19:17:58 |
#include<stdio.h> #include<math.h> int main() { int i,j,k,n; scanf("%d",&n); for(i=n;i>=1;i--) { for(j=n-i;j>0;j--) { printf(" "); } for(k=2*i-1;k>0;k--) { printf("#"); } printf("\n"); } return 0; }