Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
46397 | 杨中琦 | 倒三角形 | C++ | Accepted | 100 | 0 MS | 252 KB | 296 | 2022-07-13 13:00:21 |
#include<iostream> int main(){ int a,i=0,m,n; scanf("%d",&a); i=a; while(i>=1){ m=1; while(m<=a-i){ printf(" "); m=m+1; } n=1; while(n<=i*2-1){ printf("#"); n=n+1; } i=i-1; printf("\n");//dfsfajsshdfjakdhfkjlfhadskljfhsdkjlfhlsk } return 0; }