提交时间:2022-07-13 13:00:21

运行 ID: 46397

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