提交时间:2019-10-07 19:45:22

运行 ID: 1365

#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; }